summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-05-11 09:18:24 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-05-11 09:18:24 +0000
commitfc1d265058882d98cc78520a3a093c1b3fa191b8 (patch)
tree8030961f541291d3dffba43e428333127789cfcf /aconfigure.ac
parentccf97961a75679ae321352735896f9db46032ab7 (diff)
Re #1843 (misc): related to r4966, remove ldl and lz from OpenSSL dependencies since both libraries are actually optional for OpenSSL, and may be unavailable in some platforms, such as BB10
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5091 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 2cb9b69e..cdb15583 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -1533,7 +1533,7 @@ AC_ARG_ENABLE(ssl,
AC_SUBST(libssl_present)
AC_SUBST(libcrypto_present)
AC_CHECK_HEADER(openssl/ssl.h,[openssl_h_present=1])
- AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS="-lcrypto -ldl -lz $LIBS"],,-ldl -lz)
+ AC_CHECK_LIB(crypto,ERR_load_BIO_strings,[libcrypto_present=1 && LIBS="-lcrypto $LIBS"])
AC_CHECK_LIB(ssl,SSL_library_init,[libssl_present=1 && LIBS="-lssl $LIBS"])
if test "x$openssl_h_present" = "x1" -a "x$libssl_present" = "x1" -a "x$libcrypto_present" = "x1"; then
AC_MSG_RESULT([OpenSSL library found, SSL support enabled])