|
|
|
@ -655,8 +655,6 @@ PBX_MSG_NOSIGNAL
|
|
|
|
|
PBX_IXJUSER
|
|
|
|
|
GMIME_LIBS
|
|
|
|
|
GMIME_CFLAGS
|
|
|
|
|
PBX_SSL_OP_NO_TLSV1_2
|
|
|
|
|
PBX_SSL_OP_NO_TLSV1_1
|
|
|
|
|
PORTAUDIO_LIBS
|
|
|
|
|
PORTAUDIO_CFLAGS
|
|
|
|
|
PYTHONDEV_LIBS
|
|
|
|
@ -30977,102 +30975,6 @@ _ACEOF
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
if test "$PBX_OPENSSL" = "1";
|
|
|
|
|
then
|
|
|
|
|
|
|
|
|
|
if test "x${PBX_SSL_OP_NO_TLSV1_1}" != "x1"; then
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_OP_NO_TLSv1_1 in openssl/ssl.h" >&5
|
|
|
|
|
$as_echo_n "checking for SSL_OP_NO_TLSv1_1 in openssl/ssl.h... " >&6; }
|
|
|
|
|
saved_cppflags="${CPPFLAGS}"
|
|
|
|
|
if test "x${SSL_OP_NO_TLSV1_1_DIR}" != "x"; then
|
|
|
|
|
SSL_OP_NO_TLSV1_1_INCLUDE="-I${SSL_OP_NO_TLSV1_1_DIR}/include"
|
|
|
|
|
fi
|
|
|
|
|
CPPFLAGS="${CPPFLAGS} ${SSL_OP_NO_TLSV1_1_INCLUDE}"
|
|
|
|
|
|
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
#if defined(SSL_OP_NO_TLSv1_1)
|
|
|
|
|
int foo = 0;
|
|
|
|
|
#else
|
|
|
|
|
int foo = bar;
|
|
|
|
|
#endif
|
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
PBX_SSL_OP_NO_TLSV1_1=1
|
|
|
|
|
|
|
|
|
|
$as_echo "#define HAVE_SSL_OP_NO_TLSV1_1 1" >>confdefs.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
CPPFLAGS="${saved_cppflags}"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if test "x${PBX_SSL_OP_NO_TLSV1_2}" != "x1"; then
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for SSL_OP_NO_TLSv1_2 in openssl/ssl.h" >&5
|
|
|
|
|
$as_echo_n "checking for SSL_OP_NO_TLSv1_2 in openssl/ssl.h... " >&6; }
|
|
|
|
|
saved_cppflags="${CPPFLAGS}"
|
|
|
|
|
if test "x${SSL_OP_NO_TLSV1_2_DIR}" != "x"; then
|
|
|
|
|
SSL_OP_NO_TLSV1_2_INCLUDE="-I${SSL_OP_NO_TLSV1_2_DIR}/include"
|
|
|
|
|
fi
|
|
|
|
|
CPPFLAGS="${CPPFLAGS} ${SSL_OP_NO_TLSV1_2_INCLUDE}"
|
|
|
|
|
|
|
|
|
|
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
|
|
|
|
|
/* end confdefs.h. */
|
|
|
|
|
#include <openssl/ssl.h>
|
|
|
|
|
int
|
|
|
|
|
main ()
|
|
|
|
|
{
|
|
|
|
|
#if defined(SSL_OP_NO_TLSv1_2)
|
|
|
|
|
int foo = 0;
|
|
|
|
|
#else
|
|
|
|
|
int foo = bar;
|
|
|
|
|
#endif
|
|
|
|
|
0
|
|
|
|
|
|
|
|
|
|
;
|
|
|
|
|
return 0;
|
|
|
|
|
}
|
|
|
|
|
_ACEOF
|
|
|
|
|
if ac_fn_c_try_compile "$LINENO"; then :
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
|
|
|
|
|
$as_echo "yes" >&6; }
|
|
|
|
|
PBX_SSL_OP_NO_TLSV1_2=1
|
|
|
|
|
|
|
|
|
|
$as_echo "#define HAVE_SSL_OP_NO_TLSV1_2 1" >>confdefs.h
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
else
|
|
|
|
|
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
|
|
|
|
|
$as_echo "no" >&6; }
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
|
|
|
|
|
CPPFLAGS="${saved_cppflags}"
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
fi
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|