[MPlayer-cvslog] r19423 - trunk/configure

reimar subversion at mplayerhq.hu
Thu Aug 17 17:11:10 CEST 2006


Author: reimar
Date: Thu Aug 17 17:11:10 2006
New Revision: 19423

Modified:
   trunk/configure

Log:
Add -Wdeclaration-after-statement to CFLAGS if available to ensure people
won't miss this requirement and thus don't have to fix it later.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Thu Aug 17 17:11:10 2006
@@ -7086,6 +7086,10 @@
   echores "no"
 fi
 
+if cc_check -Wdeclaration-after-statement ; then
+  CFLAGS="-Wdeclaration-after-statement $CFLAGS"
+fi
+
 echocheck "ftello()"
 # if we don't have ftello use the osdep/ compatibility module
 cat > $TMPC << EOF



More information about the MPlayer-cvslog mailing list