From: Damien Miller Date: Wed, 28 Feb 2001 22:16:11 +0000 (+1100) Subject: - (djm) Properly add -lcrypt if needed. X-Git-Tag: V_2_5_1_P2~3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=95aa2d60eaefc707a832d7ef2f17498fb6841ac8;p=thirdparty%2Fopenssh-portable.git - (djm) Properly add -lcrypt if needed. --- diff --git a/ChangeLog b/ChangeLog index 48e424965..79c6f94c4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +20010301 + - (djm) Properly add -lcrypt if needed. + 20010228 - (djm) Detect endianness in configure and use it in rijndael.c. Fixes "Bad packet length" bugs. @@ -4166,4 +4169,4 @@ - Wrote replacements for strlcpy and mkdtemp - Released 1.0pre1 -$Id: ChangeLog,v 1.841 2001/02/28 01:51:18 djm Exp $ +$Id: ChangeLog,v 1.842 2001/02/28 22:16:11 djm Exp $ diff --git a/configure.in b/configure.in index fc6e1faac..69db290c4 100644 --- a/configure.in +++ b/configure.in @@ -1,4 +1,4 @@ -# $Id: configure.in,v 1.259 2001/02/28 01:51:19 djm Exp $ +# $Id: configure.in,v 1.260 2001/02/28 22:16:12 djm Exp $ AC_INIT(ssh.c) @@ -749,7 +749,7 @@ fi # Some Linux systems (Slackware) need crypt() from libcrypt, *not* the # version in OpenSSL. Skip this for PAM if test "x$PAM_MSG" = "xno" -a "x$check_for_libcrypt_later" = "x1"; then - AC_CHECK_LIB(crypt, crypt, , ) + AC_CHECK_LIB(crypt, crypt, LIBS="$LIBS -lcrypt") fi # Cheap hack to ensure NEWS-OS libraries are arranged right.