From 95aa2d60eaefc707a832d7ef2f17498fb6841ac8 Mon Sep 17 00:00:00 2001 From: Damien Miller Date: Thu, 1 Mar 2001 09:16:11 +1100 Subject: - (djm) Properly add -lcrypt if needed. --- ChangeLog | 5 ++++- configure.in | 4 ++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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. -- cgit v1.2.3