[MPlayer-cvslog] r23523 - trunk/configure

cehoyos subversion at mplayerhq.hu
Sat Jun 9 00:22:51 CEST 2007


Author: cehoyos
Date: Sat Jun  9 00:22:50 2007
New Revision: 23523

Log:
Simplify addition of -Wdeclaration-after-statement to CFLAGS.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Sat Jun  9 00:22:50 2007
@@ -7395,9 +7395,7 @@ cat > $TMPC << EOF
 int main() { return 0; }
 EOF
 if test "$cc_vendor" = "gnu" ; then
-  if cc_check -Wdeclaration-after-statement ; then
-    CFLAGS="-Wdeclaration-after-statement $CFLAGS"
-  fi
+  cc_check -Wdeclaration-after-statement && CFLAGS="-Wdeclaration-after-statement $CFLAGS"
   cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
   cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
 fi



More information about the MPlayer-cvslog mailing list