Require OpenSSL
This commit is contained in:
parent
bba4540fe5
commit
15f219ea25
|
@ -953,7 +953,9 @@ if test x$HAVE_OPENSSL = x1; then
|
|||
openssl_CFLAGS="$openssl_CFLAGS -DHAVE_OPENSSL";
|
||||
APR_ADDTO(SWITCH_AM_CFLAGS, -DHAVE_OPENSSL)
|
||||
AC_CHECK_LIB(ssl, SSL_CTX_set_tlsext_use_srtp, AC_DEFINE_UNQUOTED(HAVE_OPENSSL_DTLS_SRTP, 1, HAVE_OPENSSL_DTLS_SRTP))
|
||||
AC_CHECK_LIB(ssl, DTLSv1_method, AC_DEFINE_UNQUOTED(HAVE_OPENSSL_DTLS, 1, HAVE_OPENSSL_DTLS))
|
||||
AC_CHECK_LIB(ssl, DTLSv1_method, AC_DEFINE_UNQUOTED(HAVE_OPENSSL_DTLS, 1, HAVE_OPENSSL_DTLS), AC_MSG_WARN([OpenSSL version < 1.0.1e you might want to upgrade]))
|
||||
else
|
||||
AC_MSG_ERROR([OpenSSL and associaed developement headers required])
|
||||
fi
|
||||
|
||||
AX_CHECK_JAVA
|
||||
|
|
Loading…
Reference in New Issue