Mercurial > dropbear
changeset 866:12d5f40894ec
Fix library order of libtom*
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Mon, 25 Nov 2013 23:39:15 +0800 |
parents | 39d872718d4b |
children | 463e2b70be14 |
files | configure.ac |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.ac Mon Nov 25 23:30:01 2013 +0800 +++ b/configure.ac Mon Nov 25 23:39:15 2013 +0800 @@ -371,16 +371,16 @@ AC_MSG_NOTICE(Forcing bundled libtom*) else BUNDLED_LIBTOM=0 - AC_CHECK_LIB(tomcrypt, register_cipher, , + AC_CHECK_LIB(tommath, mp_exptmod, , [AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] ) - AC_CHECK_LIB(tommath, mp_exptmod, , + 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(tommath, mp_exptmod, , BUNDLED_LIBTOM=1) AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1) - AC_CHECK_LIB(tommath, mp_exptmod, , BUNDLED_LIBTOM=1) ] )