You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by jm...@apache.org on 2006/10/24 19:28:04 UTC

svn commit: r467393 - in /spamassassin/trunk/spamc: configure configure.in

Author: jm
Date: Tue Oct 24 10:28:03 2006
New Revision: 467393

URL: http://svn.apache.org/viewvc?view=rev&rev=467393
Log:
turn off use of '-Wextra -Wdeclaration-after-statement' in spamc build files; gcc 3.3.x doesn't support them

Modified:
    spamassassin/trunk/spamc/configure
    spamassassin/trunk/spamc/configure.in

Modified: spamassassin/trunk/spamc/configure
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/configure?view=diff&rev=467393&r1=467392&r2=467393
==============================================================================
--- spamassassin/trunk/spamc/configure (original)
+++ spamassassin/trunk/spamc/configure Tue Oct 24 10:28:03 2006
@@ -2231,9 +2231,10 @@
 ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
 
-if test "x$GCC" = "xyes" ; then
-  CFLAGS="-Wall -Wextra -Wdeclaration-after-statement $CFLAGS"
-fi
+# off: breaks gcc 3.3.x!  doh
+# if test "x$GCC" = "xyes" ; then
+# CFLAGS="-Wall -Wextra -Wdeclaration-after-statement $CFLAGS"
+# fi
 
 
 

Modified: spamassassin/trunk/spamc/configure.in
URL: http://svn.apache.org/viewvc/spamassassin/trunk/spamc/configure.in?view=diff&rev=467393&r1=467392&r2=467393
==============================================================================
--- spamassassin/trunk/spamc/configure.in (original)
+++ spamassassin/trunk/spamc/configure.in Tue Oct 24 10:28:03 2006
@@ -17,9 +17,10 @@
 
 AC_PROG_CC
 
-if test "x$GCC" = "xyes" ; then
-  CFLAGS="-Wall -Wextra -Wdeclaration-after-statement $CFLAGS"
-fi
+# off: breaks gcc 3.3.x!  doh
+# if test "x$GCC" = "xyes" ; then
+# CFLAGS="-Wall -Wextra -Wdeclaration-after-statement $CFLAGS"
+# fi
 
 AC_EXEEXT