summaryrefslogtreecommitdiff
path: root/aconfigure.ac
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-04-22 03:40:41 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-04-22 03:40:41 +0000
commit318e459bbc068aca0b803e631c9956e188589a80 (patch)
tree2d8b26cc8b05d02d8cb5a7bea8d96c6c4b22e80b /aconfigure.ac
parent6479925375529b74eeb9cb8dac11a5869102464b (diff)
Re #1843 (thanks to Alexander Traud for the patch):
Defines like OPENSSL_NO_SSL3_METHOD and OPENSSL_NO_SSL2 are set in "include/openssl/opensslconf.h". There is no need to query the OpenSSL libraries. If the installed library does not match the installed headers, the system is misconfigured. This will undo r4892 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5073 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'aconfigure.ac')
-rw-r--r--aconfigure.ac4
1 files changed, 0 insertions, 4 deletions
diff --git a/aconfigure.ac b/aconfigure.ac
index 67cf24f1..e0e22d30 100644
--- a/aconfigure.ac
+++ b/aconfigure.ac
@@ -1540,10 +1540,6 @@ AC_ARG_ENABLE(ssl,
# PJSIP_HAS_TLS_TRANSPORT setting follows PJ_HAS_SSL_SOCK
#AC_DEFINE(PJSIP_HAS_TLS_TRANSPORT, 1)
AC_DEFINE(PJ_HAS_SSL_SOCK, 1)
- AC_CHECK_LIB(ssl,SSLv2_method,[libssl_no_ssl2=1])
- if test "x$libssl_no_ssl2" != "x1"; then
- CFLAGS="$CFLAGS -DOPENSSL_NO_SSL2=1"
- fi
else
AC_MSG_RESULT([** OpenSSL libraries not found, disabling SSL support **])
fi