You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by ji...@apache.org on 2019/03/13 17:56:36 UTC

svn commit: r1855446 - /httpd/httpd/trunk/modules/filters/config.m4

Author: jim
Date: Wed Mar 13 17:56:36 2019
New Revision: 1855446

URL: http://svn.apache.org/viewvc?rev=1855446&view=rev
Log:
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)

Modified:
    httpd/httpd/trunk/modules/filters/config.m4

Modified: httpd/httpd/trunk/modules/filters/config.m4
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/config.m4?rev=1855446&r1=1855445&r2=1855446&view=diff
==============================================================================
--- httpd/httpd/trunk/modules/filters/config.m4 (original)
+++ httpd/httpd/trunk/modules/filters/config.m4 Wed Mar 13 17:56:36 2019
@@ -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