]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
This just got me. I upgraded macOS to Mojave (w/ latest Xcode) and I always build...
authorJim Jagielski <jim@apache.org>
Tue, 8 Jan 2019 13:12:34 +0000 (13:12 +0000)
committerJim Jagielski <jim@apache.org>
Tue, 8 Jan 2019 13:12:34 +0000 (13:12 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1850745 13f79535-47bb-0310-9956-ffa450edef68

modules/filters/config.m4

index 3a3cf3d4d0dcbc64cc6c4d084277f3a914e55420..082363a0bc7f27f442a6a42f8cca62ae3d7b44c0 100644 (file)
@@ -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
+        APACHE_ADD_GCC_CFLAG([-Wno-error=comment])
+      fi
     else
       ac_cv_libxml2=no
     fi