You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by hw...@apache.org on 2012/06/12 15:42:06 UTC
svn commit: r1349348 - /subversion/trunk/configure.ac
Author: hwright
Date: Tue Jun 12 13:42:06 2012
New Revision: 1349348
URL: http://svn.apache.org/viewvc?rev=1349348&view=rev
Log:
* configure.ac
Followup to r1349314 by also filtering out '-ansi' when using clang.
Modified:
subversion/trunk/configure.ac
Modified: subversion/trunk/configure.ac
URL: http://svn.apache.org/viewvc/subversion/trunk/configure.ac?rev=1349348&r1=1349347&r2=1349348&view=diff
==============================================================================
--- subversion/trunk/configure.ac (original)
+++ subversion/trunk/configure.ac Tue Jun 12 13:42:06 2012
@@ -1372,6 +1372,11 @@ if test "$CC" = "clang"; then
CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
fi
+# Clang also doesn't (yet) support the '-ansi' flag
+if test "$CC" = "clang"; then
+ CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi //'`
+fi
+
dnl Since this is used only on Unix-y systems, define the path separator as '/'
AC_DEFINE_UNQUOTED(SVN_PATH_LOCAL_SEPARATOR, '/',
[Defined to be the path separator used on your local filesystem])