Mercurial > mplayer.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
19416:78f2fbe31c5d | 19417:c31ca009077a |
---|---|
7084 echores "yes" | 7084 echores "yes" |
7085 else | 7085 else |
7086 echores "no" | 7086 echores "no" |
7087 fi | 7087 fi |
7088 | 7088 |
7089 if cc_check -Wdeclaration-after-statement ; then | |
7090 CFLAGS="-Wdeclaration-after-statement $CFLAGS" | |
7091 fi | |
7092 | |
7089 echocheck "ftello()" | 7093 echocheck "ftello()" |
7090 # if we don't have ftello use the osdep/ compatibility module | 7094 # if we don't have ftello use the osdep/ compatibility module |
7091 cat > $TMPC << EOF | 7095 cat > $TMPC << EOF |
7092 #include <stdio.h> | 7096 #include <stdio.h> |
7093 #include <sys/types.h> | 7097 #include <sys/types.h> |