Commit 210ef9bc authored by Stefan Eissing's avatar Stefan Eissing
Browse files

Merge of r1850745,r1855446 from trunk:

modules/filters/config.m4: Make libxml2's inclusion of unicode/*.h files
a non-fatal warning/error under maintainer-mode.



git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1856931 13f79535-47bb-0310-9956-ffa450edef68
parent c22ce8fe
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -114,6 +114,10 @@ AC_DEFUN([FIND_LIBXML2], [
    if test -n "${xml2_path}" ; then
      ac_cv_libxml2=yes
      XML2_INCLUDES="${xml2_path}"
      dnl libxml2 includes unicode/*.h files which uses C++ comments
      if test "$GCC" = "yes"; then
        APR_ADDTO(MOD_CPPFLAGS, ["-Wno-error=comment"])
      fi
    else
      ac_cv_libxml2=no
    fi