mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 13:56:01 +03:00
Do not bother with libcurl if there is no mlogc-src.
This commit is contained in:
parent
bc6c0c76af
commit
62dfbeb80a
@ -49,7 +49,7 @@ AC_SUBST(CURL_CFLAGS)
|
||||
|
||||
if test -z "${CURL_LIBS}"; then
|
||||
AC_MSG_NOTICE([*** curl library not found.])
|
||||
ifelse([$2], , AC_MSG_NOTICE([NOTE: curl library is required for building mlogc]), $2)
|
||||
ifelse([$2], , AC_MSG_NOTICE([NOTE: curl library is only required for building mlogc]), $2)
|
||||
else
|
||||
AC_MSG_NOTICE([using '${CURL_LIBS}' for curl Library])
|
||||
ifelse([$1], , , $1)
|
||||
|
@ -212,11 +212,12 @@ CHECK_APR()
|
||||
CHECK_APU()
|
||||
CHECK_LIBXML()
|
||||
CHECK_LUA()
|
||||
CHECK_CURL()
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
if test -e "mlogc-src/Makefile.in"; then
|
||||
CHECK_CURL()
|
||||
AC_CONFIG_FILES([mlogc-src/Makefile])
|
||||
fi
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
|
||||
AC_OUTPUT
|
||||
|
Loading…
x
Reference in New Issue
Block a user