From f0fd71911809c1ae056e4c10e0abc2bb7e021d65 Mon Sep 17 00:00:00 2001 From: reimar Date: Thu, 17 Aug 2006 15:11:10 +0000 Subject: 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 --- configure | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure') 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 -- cgit v1.2.3