]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
libxml2 is an optional component
authorAmos Jeffries <squid3@treenet.co.nz>
Sun, 27 Nov 2011 10:16:11 +0000 (23:16 +1300)
committerAmos Jeffries <squid3@treenet.co.nz>
Sun, 27 Nov 2011 10:16:11 +0000 (23:16 +1300)
Do not block the build if it is missing during auto-detect.

configure.ac

index b0c901cba35c9131b9dcc56aa6b18244050a1469..0b8d99affd2ee33eaa21e6565c7eaf780146dcc2 100644 (file)
@@ -925,8 +925,7 @@ if test "x$squid_opt_use_esi" = "xyes" -a "x$with_libxml2" != "xno" ; then
         CPPFLAGS="-I/usr/local/include/libxml2 $SAVED_CPPFLAGS"
         unset ac_cv_header_libxml_parser_h
         AC_CHECK_HEADERS([libxml/parser.h], [ac_cv_libxml2_include="-I/usr/local/include/libxml2"], [
-          AC_MSG_ERROR([Failed to find libxml2 header file libxml/parser.h])
-       
+          AC_MSG_NOTICE([Failed to find libxml2 header file libxml/parser.h])
         ])
       ])
       CPPFLAGS="$SAVED_CPPFLAGS"