From: William A. Rowe Jr Date: Fri, 23 Feb 2018 20:23:10 +0000 (+0000) Subject: Propose backportable fix to accept libxml2 path in the X-Git-Tag: 2.5.0-alpha2-ci-test-only~2830 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=172f8e6efdc422e09c9a8c5984c4bf0e2acb336e;p=thirdparty%2Fapache%2Fhttpd.git Propose backportable fix to accept libxml2 path in the base form or the absolute path to include tree form. Nowhere does the --with-libxml2= arg suggest the path is that of the include tree, and disagrees with httpd's use of --with- syntax for package location. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1825169 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/config.m4 b/modules/filters/config.m4 index 0ea0826344d..3a3cf3d4d0d 100644 --- a/modules/filters/config.m4 +++ b/modules/filters/config.m4 @@ -100,7 +100,7 @@ AC_DEFUN([FIND_LIBXML2], [ AC_CACHE_CHECK([for libxml2], [ac_cv_libxml2], [ AC_ARG_WITH(libxml2, [APACHE_HELP_STRING(--with-libxml2=PATH,location for libxml2)], - [test_paths="${with_libxml2}"], + [test_paths="${with_libxml2}/include/libxml2 ${with_libxml2}/include ${with_libxml2}"], [test_paths="/usr/include/libxml2 /usr/local/include/libxml2 /usr/include /usr/local/include"] ) AC_MSG_CHECKING(for libxml2)