summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-17 15:11:10 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-08-17 15:11:10 +0000
commitf0fd71911809c1ae056e4c10e0abc2bb7e021d65 (patch)
tree962b179869542bc75aaedf81d671084d48a8dc50 /configure
parentc00784bb22ead3ea0cb416c7362d5686bdbc4afb (diff)
downloadmpv-f0fd71911809c1ae056e4c10e0abc2bb7e021d65.tar.bz2
mpv-f0fd71911809c1ae056e4c10e0abc2bb7e021d65.tar.xz
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. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19423 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 7ba7f5f9f5..2569941e0c 100755
--- a/configure
+++ b/configure
@@ -7086,6 +7086,10 @@ else
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