From: Jim Jagielski Date: Wed, 13 Mar 2019 17:56:36 +0000 (+0000) Subject: Make the work-around for C++ style comments causing fatal errors in X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b444a8e5795999b718f9c852af6c68dd63177a2a;p=apache Make the work-around for C++ style comments causing fatal errors in maintainer-mode for later versions of clang module compile specific (we will still SEE the errors though when buidlin) git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1855446 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/modules/filters/config.m4 b/modules/filters/config.m4 index 082363a0bc..f647f54e83 100644 --- a/modules/filters/config.m4 +++ b/modules/filters/config.m4 @@ -116,7 +116,7 @@ AC_DEFUN([FIND_LIBXML2], [ 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]) + APR_ADDTO(MOD_CPPFLAGS, ["-Wno-error=comment"]) fi else ac_cv_libxml2=no