diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-05-10 01:35:54 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-05-10 01:35:54 +0800 |
commit | 76b3a1c207f364d81cb46264a9118f1503d7f712 (patch) | |
tree | ee7f2b35d3d16cca3b26f9e3890b5b9ae3a6714c /configure.in | |
parent | f344dd0ad391acf7339fae13733cce47afa7682f (diff) | |
download | gsoc2013-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
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
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="" |