# HG changeset patch # User reimar # Date 1155827470 0 # Node ID c31ca009077a1e7fdf0115e54cb664e203aa793f # Parent 78f2fbe31c5dc6d14b3ad3e631421ea9359fcd5d 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. diff -r 78f2fbe31c5d -r c31ca009077a configure --- 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