mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 03:34:29 +03:00
Makes YAJL dependency to be optional
This commit is contained in:
19
configure.ac
19
configure.ac
@@ -190,6 +190,7 @@ AC_SUBST([MSC_GIT_VERSION])
|
||||
|
||||
|
||||
# Files to be generated via autotools.
|
||||
AM_CONDITIONAL([WITH_YAJL], [test "$want_test" = yes])
|
||||
AC_CONFIG_FILES([\
|
||||
Makefile \
|
||||
doc/Makefile \
|
||||
@@ -268,4 +269,22 @@ if test "x$CURL_FOUND" = "x2"; then
|
||||
echo " + LibCURL ....disabled"
|
||||
fi
|
||||
|
||||
|
||||
## YAJL
|
||||
if test "x$YAJL_FOUND" = "x0"; then
|
||||
echo " + YAJL ....not found"
|
||||
fi
|
||||
if test "x$YAJL_FOUND" = "x1"; then
|
||||
echo -n " + YAJL ....found "
|
||||
if ! test "x$YAJL_VERSION" = "x"; then
|
||||
echo "v${YAJL_VERSION}"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
echo " ${YAJL_DISPLAY}"
|
||||
fi
|
||||
if test "x$YAJL_FOUND" = "x2"; then
|
||||
echo " + YAJL ....disabled"
|
||||
fi
|
||||
|
||||
echo " "
|
||||
|
Reference in New Issue
Block a user