aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-05-10 01:35:54 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-05-10 01:35:54 +0800
commit76b3a1c207f364d81cb46264a9118f1503d7f712 (patch)
treeee7f2b35d3d16cca3b26f9e3890b5b9ae3a6714c
parentf344dd0ad391acf7339fae13733cce47afa7682f (diff)
downloadgsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar.gz
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar.bz2
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar.lz
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar.xz
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.tar.zst
gsoc2013-evolution-76b3a1c207f364d81cb46264a9118f1503d7f712.zip
OpenSSL LDFLAGS also needs to include -lcrypt
2001-05-09 Jeffrey Stedfast <fejj@ximian.com> * configure.in: OpenSSL LDFLAGS also needs to include -lcrypt svn path=/trunk/; revision=9727
-rw-r--r--ChangeLog4
-rw-r--r--configure.in6
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 <fejj@ximian.com>
+
+ * configure.in: OpenSSL LDFLAGS also needs to include -lcrypt
+
2001-05-08 Iain Holmes <iain@ximian.com>
* 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=""