You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2010/08/03 12:10:00 UTC
svn commit: r981805 - /subversion/trunk/configure.ac
Author: stsp
Date: Tue Aug 3 10:10:00 2010
New Revision: 981805
URL: http://svn.apache.org/viewvc?rev=981805&view=rev
Log:
* configure.ac: In maintainer mode, add -Wno-system-headers to CFLAGS if
supported by the compiler.
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=981805&r1=981804&r2=981805&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Tue Aug 3 10:10:00 2010
@@ -902,6 +902,9 @@ AS_HELP_STRING([--enable-maintainer-mode
CFLAGS="-Wold-style-definition $CFLAGS_KEEP"
AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], [CFLAGS_KEEP="$CFLAGS"])
+ CFLAGS="-Wno-system-headers $CFLAGS_KEEP"
+ AC_COMPILE_IFELSE([AC_LANG_SOURCE([[]])], [CFLAGS_KEEP="$CFLAGS"])
+
AC_LANG_POP([C])
CFLAGS="$CFLAGS_KEEP"
fi