Adds support to libxml2 detection on the build system

This commit is contained in:
Felipe Zimmerle
2015-12-10 11:17:07 -03:00
parent 80b82d3707
commit 0694cd30ca
2 changed files with 136 additions and 0 deletions

View File

@@ -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