mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Adds support to libxml2 detection on the build system
This commit is contained in:
25
configure.ac
25
configure.ac
@@ -104,6 +104,12 @@ if ! test -z "${CURL_VERSION}"; then
|
||||
fi
|
||||
|
||||
|
||||
#
|
||||
# Check for LibXML
|
||||
#
|
||||
CHECK_LIBXML2
|
||||
|
||||
|
||||
#
|
||||
# Check for libpcre
|
||||
#
|
||||
@@ -331,6 +337,25 @@ if test "x$YAJL_FOUND" = "x2"; then
|
||||
echo " + YAJL ....disabled"
|
||||
fi
|
||||
|
||||
|
||||
## libxml2
|
||||
if test "x$LIBXML2_FOUND" = "x0"; then
|
||||
echo " + LibXML2 ....not found"
|
||||
fi
|
||||
if test "x$LIBXML2_FOUND" = "x1"; then
|
||||
echo -n " + LibXML2 ....found "
|
||||
if ! test "x$LIBXML2_VERSION" = "x"; then
|
||||
echo "v${LIBXML2_VERSION}"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
echo " ${LIBXML2_DISPLAY}"
|
||||
fi
|
||||
if test "x$LIBXML2_FOUND" = "x2"; then
|
||||
echo " + LibXML2 ....disabled"
|
||||
fi
|
||||
|
||||
|
||||
echo " "
|
||||
echo " Other Options"
|
||||
if test $buildTestUtilities = true; then
|
||||
|
Reference in New Issue
Block a user