Commit 27fddd2c authored by Matt Johnston's avatar Matt Johnston
Browse files

Work properly again with bundled libtom*. autoconf is a hassle.

extra : convert_revision : 4077fc3332bd7c965aadbb05b02eba6d00fa9621
parent fced1113
......@@ -76,7 +76,7 @@ [email protected]@
STRIP=@[email protected]
INSTALL=@[email protected]
CPPFLAGS=@[email protected]
CFLAGS=-I. -I$(srcdir) $(CPPFLAGS) @[email protected]
CFLAGS+=-I. -I$(srcdir) $(CPPFLAGS) @[email protected]
LIBS+=@[email protected]
LDFLAGS=@[email protected]
......@@ -366,18 +366,20 @@ AC_CHECK_FUNCS(logout updwtmp logwtmp)
[ --enable-bundled-libtom Use bundled libtomcrypt/libtommath even if a system version exists],
AC_MSG_NOTICE(use bundled)
AC_DEFINE(BUNDLED_LIBTOM,,Use bundled libtom)
AC_MSG_NOTICE(Forcing bundled libtom*)
AC_MSG_NOTICE(not bundled)
AC_CHECK_LIB(tomcrypt, register_cipher, , BUNDLED_LIBTOM=1)
AC_CHECK_LIB(tommath, mp_exptmod, , BUNDLED_LIBTOM=1)
if test $BUNDLED_LIBTOM = 1 ; then
AC_DEFINE(BUNDLED_LIBTOM,,Use bundled libtom)
dnl Added from OpenSSH 3.6.1p2's
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment