Mercurial > mplayer.hg
diff configure @ 19417:c31ca009077a
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.
author | reimar |
---|---|
date | Thu, 17 Aug 2006 15:11:10 +0000 |
parents | fa53ace863b9 |
children | 5df27eeec3bf |
line wrap: on
line diff
--- a/configure Thu Aug 17 09:18:37 2006 +0000 +++ b/configure Thu Aug 17 15:11:10 2006 +0000 @@ -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