You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

78 lines
1.9 KiB

Index: configure
--- configure.orig 2019-03-02 22:06:19.000000000 +0100
+++ configure 2020-01-06 10:31:05.733453000 +0100
@@ -817,7 +817,7 @@
###########################
GNUOSCFLAGS="-g ${GNUOSCFLAGS}"
-GNUOSCFLAGS="${GNUOSCFLAGS} -Wall -Wno-deprecated-declarations -Wextra -Wformat-security -Wnested-externs -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wcast-qual"
+GNUOSCFLAGS="${GNUOSCFLAGS} -Wno-deprecated-declarations"
GNUOSCFLAGS="${GNUOSCFLAGS}"
${CC} -Werror ${GNUOSCFLAGS} ${TMPCPROGC} ${OSCFLAGS} -o ${TMPCPROGB} 2>>/dev/null
@@ -966,6 +966,31 @@
exit
fi
+if [ -z "${TURN_NO_TLS}" ] ; then
+
+ testlib event_openssl
+ ER=$?
+ if ! [ ${ER} -eq 0 ] ; then
+ ${ECHO_CMD} "Libevent2 openssl found."
+ else
+ ${ECHO_CMD} "ERROR: Libevent2 development libraries are not compiled with OpenSSL support."
+ ${ECHO_CMD} "TLS will be disabled."
+ TURN_NO_TLS="-DTURN_NO_TLS"
+ fi
+
+else
+ TURN_NO_TLS="-DTURN_NO_TLS"
+fi
+
+testlib event_pthreads
+ER=$?
+if ! [ ${ER} -eq 0 ] ; then
+ ${ECHO_CMD} "Libevent2 pthreads found."
+else
+ ${ECHO_CMD} "ERROR: Libevent2 development libraries are not compiled with threads support."
+ exit
+fi
+
testlib event_core
ER=$?
if ! [ ${ER} -eq 0 ] ; then
@@ -994,31 +1019,8 @@
exit
fi
fi
-
-if [ -z "${TURN_NO_TLS}" ] ; then
-
- testlib event_openssl
- ER=$?
- if ! [ ${ER} -eq 0 ] ; then
- ${ECHO_CMD} "Libevent2 openssl found."
- else
- ${ECHO_CMD} "ERROR: Libevent2 development libraries are not compiled with OpenSSL support."
- ${ECHO_CMD} "TLS will be disabled."
- TURN_NO_TLS="-DTURN_NO_TLS"
- fi
-
-else
- TURN_NO_TLS="-DTURN_NO_TLS"
-fi
-
-testlib event_pthreads
-ER=$?
-if ! [ ${ER} -eq 0 ] ; then
- ${ECHO_CMD} "Libevent2 pthreads found."
-else
- ${ECHO_CMD} "ERROR: Libevent2 development libraries are not compiled with threads support."
- exit
-fi
+testlib event_core
+testlib event
###########################
# Test SQLite setup