mirror of
https://github.com/clearml/dropbear
synced 2025-02-12 07:25:30 +00:00
Fix library order of libtom*
This commit is contained in:
parent
e5c52796c3
commit
be5780ef90
@ -371,16 +371,16 @@ AC_ARG_ENABLE(bundled-libtom,
|
|||||||
AC_MSG_NOTICE(Forcing bundled libtom*)
|
AC_MSG_NOTICE(Forcing bundled libtom*)
|
||||||
else
|
else
|
||||||
BUNDLED_LIBTOM=0
|
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_CHECK_LIB(tommath, mp_exptmod, ,
|
||||||
[AC_MSG_ERROR([Missing system libtomcrypt and --disable-bundled-libtom was specified])] )
|
[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
|
fi
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
BUNDLED_LIBTOM=0
|
BUNDLED_LIBTOM=0
|
||||||
AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1)
|
|
||||||
AC_CHECK_LIB(tommath, mp_exptmod, , BUNDLED_LIBTOM=1)
|
AC_CHECK_LIB(tommath, mp_exptmod, , BUNDLED_LIBTOM=1)
|
||||||
|
AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1)
|
||||||
]
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user