comparison configure @ 23475:2f9eb2c35d01

Fix r23494: It broke gcc 2.95.3
author cehoyos
date Thu, 07 Jun 2007 17:10:37 +0000
parents 77358493cd6b
children cf92211a1565
comparison
equal deleted inserted replaced
23474:77358493cd6b 23475:2f9eb2c35d01
2249 if test "$cc_vendor" = "intel" ; then 2249 if test "$cc_vendor" = "intel" ; then
2250 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" 2250 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
2251 elif test "$cc_vendor" != "gnu" ; then 2251 elif test "$cc_vendor" != "gnu" ; then
2252 CFLAGS="-O2 $_march $_mcpu $_pipe" 2252 CFLAGS="-O2 $_march $_mcpu $_pipe"
2253 else 2253 else
2254 CFLAGS="-Wall -Wno-pointer-sign -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" 2254 CFLAGS="-Wall -O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer"
2255 fi 2255 fi
2256 else 2256 else
2257 _warn_CFLAGS=yes 2257 _warn_CFLAGS=yes
2258 fi 2258 fi
2259 if test -n "$LDFLAGS" ; then 2259 if test -n "$LDFLAGS" ; then
7395 int main() { return 0; } 7395 int main() { return 0; }
7396 EOF 7396 EOF
7397 if cc_check -Wdeclaration-after-statement ; then 7397 if cc_check -Wdeclaration-after-statement ; then
7398 CFLAGS="-Wdeclaration-after-statement $CFLAGS" 7398 CFLAGS="-Wdeclaration-after-statement $CFLAGS"
7399 fi 7399 fi
7400 cc_check -Wno-pointer-sign && CFLAGS="-Wno-pointer-sign $CFLAGS"
7400 7401
7401 7402
7402 #this must be the last test to be performed or the ones following it will likely fail 7403 #this must be the last test to be performed or the ones following it will likely fail
7403 #because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer 7404 #because libdvdnavmini is intentionally not linked against libdvdread (to permit mplayer
7404 # to use its own copy of the library) 7405 # to use its own copy of the library)