[MPlayer-cvslog] r22737 - trunk/configure

diego subversion at mplayerhq.hu
Mon Mar 19 00:54:51 CET 2007


Author: diego
Date: Mon Mar 19 00:54:51 2007
New Revision: 22737

Modified:
   trunk/configure

Log:
The -Wdeclaration-after-statement test needs a C program.
Noticed by Carl Eugen Hoyos.


Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Mon Mar 19 00:54:51 2007
@@ -7416,6 +7416,9 @@ fi
 
 CXXFLAGS="-I.. $CFLAGS -D__STDC_LIMIT_MACROS"
 
+cat > $TMPC << EOF
+int main() { return 0; }
+EOF
 if cc_check -Wdeclaration-after-statement ; then
   CFLAGS="-Wdeclaration-after-statement $CFLAGS"
 fi



More information about the MPlayer-cvslog mailing list