From 76b3a1c207f364d81cb46264a9118f1503d7f712 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 9 May 2001 17:35:54 +0000 Subject: OpenSSL LDFLAGS also needs to include -lcrypt 2001-05-09 Jeffrey Stedfast * configure.in: OpenSSL LDFLAGS also needs to include -lcrypt svn path=/trunk/; revision=9727 --- ChangeLog | 4 ++++ configure.in | 6 ++++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 837edb374d..63bde4d9aa 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2001-05-09 Jeffrey Stedfast + + * configure.in: OpenSSL LDFLAGS also needs to include -lcrypt + 2001-05-08 Iain Holmes * Makefile.am: Add the importers subdir. diff --git a/configure.in b/configure.in index cbbc505104..9d838e4475 100644 --- a/configure.in +++ b/configure.in @@ -670,14 +670,16 @@ if test "x${with_openssl_libs}" != "xno" -a "x${have_openssl_includes}" != "xno" AC_CACHE_CHECK([for OpenSSL libraries], openssl_libs, [ - LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto" +dnl How can we test to see if we need to link to libld for sure?? +dnl RedHat 6.2 seems to need to but Debian Woody doesn't + LDFLAGS="$LDFLAGS -L$with_openssl_libs -lssl -lcrypto -ldl" AC_TRY_LINK_FUNC(SSL_read, openssl_libs="yes", openssl_libs="no") LDFLAGS="$LDFLAGS_save" ]) if test "x${openssl_libs}" != "xno"; then AC_DEFINE(HAVE_OPENSSL) msg_openssl="yes" - OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcrypto" + OPENSSL_LDFLAGS="-L$with_openssl_libs -lssl -lcrypto -ldl" else OPENSSL_CFLAGS="" OPENSSL_LDFLAGS="" -- cgit v1.2.3