changeset 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 78f2fbe31c5d
children 02b91a15f69e
files configure
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
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