[MPlayer-cvslog] r23510 - trunk/configure

cehoyos subversion at mplayerhq.hu
Fri Jun 8 10:16:54 CEST 2007


Author: cehoyos
Date: Fri Jun  8 10:16:54 2007
New Revision: 23510

Log:
Add -Wdeclaration-after-statement etc. only to gcc.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Fri Jun  8 10:16:54 2007
@@ -7394,11 +7394,13 @@ CXXFLAGS=" $CFLAGS -D__STDC_LIMIT_MACROS
 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 -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
 cc_check -Wdisabled-optimization && CFLAGS="-Wdisabled-optimization $CFLAGS"
+fi
 
 
 #this must be the last test to be performed or the ones following it will likely fail



More information about the MPlayer-cvslog mailing list