diff options
author | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:39:15 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2013-11-25 23:39:15 +0800 |
commit | d9b06fd27dac0dd0ef48f3c93d212b9e56f2840d (patch) | |
tree | 0cb8332b75bda5d825099033067c3e6d14d7087f | |
parent | d7bd8d7864a1e1278aa7f497b2ca44cf92928bf8 (diff) | |
download | dropbear-d9b06fd27dac0dd0ef48f3c93d212b9e56f2840d.tar.gz |
Fix library order of libtom*
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index aa932fc..e63d164 100644 --- a/configure.ac +++ b/configure.ac @@ -371,16 +371,16 @@ AC_ARG_ENABLE(bundled-libtom, AC_MSG_NOTICE(Forcing bundled libtom*) else BUNDLED_LIBTOM=0 - AC_CHECK_LIB(tomcrypt, register_cipher, , - [AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] ) AC_CHECK_LIB(tommath, mp_exptmod, , [AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] ) + AC_CHECK_LIB(tomcrypt, register_cipher, , + [AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] ) fi ], [ BUNDLED_LIBTOM=0 - AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1) AC_CHECK_LIB(tommath, mp_exptmod, , BUNDLED_LIBTOM=1) + AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1) ] ) |