mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 15:07:10 +03:00
Cleanup mlogc logging and add note recommending against gnutls for SSL/TLS.
This commit is contained in:
17
apache2/configure
vendored
17
apache2/configure
vendored
@@ -636,6 +636,7 @@ ac_includes_default="\
|
||||
#endif"
|
||||
|
||||
ac_subst_vars='LTLIBOBJS
|
||||
CURL_USES_GNUTLS
|
||||
CURL_CFLAGS
|
||||
CURL_LIBS
|
||||
LUA_CFLAGS
|
||||
@@ -5982,6 +5983,21 @@ $as_echo "no" >&6; }
|
||||
$as_echo "$as_me: NOTE: curl library may be too old: $CURL_VERSION" >&6;}
|
||||
fi
|
||||
|
||||
{ $as_echo "$as_me:$LINENO: checking if libcurl is linked with gnutls" >&5
|
||||
$as_echo_n "checking if libcurl is linked with gnutls... " >&6; }
|
||||
curl_uses_gnutls=`echo ${CURL_LIBS} | grep gnutls | wc -l`
|
||||
if test "$curl_uses_gnutls" -ne 0; then
|
||||
{ $as_echo "$as_me:$LINENO: result: yes" >&5
|
||||
$as_echo "yes" >&6; }
|
||||
{ $as_echo "$as_me:$LINENO: NOTE: curl linked with gnutls may be buggy, openssl recommended" >&5
|
||||
$as_echo "$as_me: NOTE: curl linked with gnutls may be buggy, openssl recommended" >&6;}
|
||||
CURL_USES_GNUTLS=yes
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
CURL_USES_GNUTLS=no
|
||||
fi
|
||||
|
||||
else
|
||||
{ $as_echo "$as_me:$LINENO: result: no" >&5
|
||||
$as_echo "no" >&6; }
|
||||
@@ -5990,6 +6006,7 @@ fi
|
||||
|
||||
|
||||
|
||||
|
||||
if test -z "${CURL_LIBS}"; then
|
||||
{ $as_echo "$as_me:$LINENO: *** curl library not found." >&5
|
||||
$as_echo "$as_me: *** curl library not found." >&6;}
|
||||
|
||||
Reference in New Issue
Block a user