]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Propose backportable fix to accept libxml2 path in the
authorWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 23 Feb 2018 20:23:10 +0000 (20:23 +0000)
committerWilliam A. Rowe Jr <wrowe@apache.org>
Fri, 23 Feb 2018 20:23:10 +0000 (20:23 +0000)
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

modules/filters/config.m4

index 0ea0826344d6fd390fed5ff67197ad85a5cb2717..3a3cf3d4d0dcbc64cc6c4d084277f3a914e55420 100644 (file)
@@ -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)