From 15f219ea25e2ea564f6613238c487f85b3d18211 Mon Sep 17 00:00:00 2001 From: Ken Rice Date: Fri, 10 May 2013 16:01:40 -0500 Subject: [PATCH] Require OpenSSL --- configure.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 6233386448..0ac0b325b0 100644 --- a/configure.in +++ b/configure.in @@ -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