Use -Wdeclaration-after-statement if available.
[pspp-builds.git] / configure.ac
index aeeb16a343580eefcd250b92ed1c2e8dd7e635ef..6189010eaddf9ba7b0ab3fa62414eb9ae2d6b93d 100644 (file)
@@ -1,4 +1,4 @@
-0dnl Process this file with autoconf to produce a configure script.
+dnl Process this file with autoconf to produce a configure script.
 
 dnl Initialize.
 AX_PREREQ(2.57)
@@ -13,6 +13,8 @@ AM_PROG_CC_C_O
 AC_PROG_RANLIB
 gl_EARLY
 
+PSPP_ENABLE_WARNING(-Wdeclaration-after-statement)
+
 AM_CONDITIONAL(cc_is_gcc, test x"$GCC" = x"yes" )