mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Disables mlogc compilation with Curl was not found
This commit automatic disables Curl compilation if Curl development files were not found on build machine.
This commit is contained in:
parent
069122194e
commit
0d2d01ba2c
10
configure.ac
10
configure.ac
@ -224,6 +224,14 @@ AC_ARG_ENABLE(mlogc,
|
|||||||
[
|
[
|
||||||
build_mlogc=1
|
build_mlogc=1
|
||||||
])
|
])
|
||||||
|
|
||||||
|
CHECK_CURL()
|
||||||
|
|
||||||
|
if test -z "${CURL_VERSION}"; then
|
||||||
|
AC_MSG_NOTICE([NOTE: mlgoc compilation was disabled.])
|
||||||
|
build_mlogc=0
|
||||||
|
fi
|
||||||
|
|
||||||
AM_CONDITIONAL([BUILD_MLOGC], [test "$build_mlogc" -eq 1])
|
AM_CONDITIONAL([BUILD_MLOGC], [test "$build_mlogc" -eq 1])
|
||||||
if test "$build_mlogc" -eq 1; then
|
if test "$build_mlogc" -eq 1; then
|
||||||
TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS mlogc"
|
TOPLEVEL_SUBDIRS="$TOPLEVEL_SUBDIRS mlogc"
|
||||||
@ -695,7 +703,7 @@ fi
|
|||||||
CHECK_LIBXML2()
|
CHECK_LIBXML2()
|
||||||
CHECK_LUA()
|
CHECK_LUA()
|
||||||
#if test "$build_mlogc" -ne 0; then
|
#if test "$build_mlogc" -ne 0; then
|
||||||
CHECK_CURL()
|
#CHECK_CURL()
|
||||||
#fi
|
#fi
|
||||||
|
|
||||||
# Check for YAJL libs (for JSON body processor)
|
# Check for YAJL libs (for JSON body processor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user