From 20cad736270466b0933fd40e9bcca4a53a6205da Mon Sep 17 00:00:00 2001 From: djm Date: Wed, 28 Feb 2001 22:16:11 +0000 Subject: [PATCH] - (djm) Properly add -lcrypt if needed. --- ChangeLog | 3 +++ configure.in | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44779501..9a9b6553 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. diff --git a/configure.in b/configure.in index 799f7539..16b52446 100644 --- a/configure.in +++ b/configure.in @@ -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. -- 2.45.1