]> git.saurik.com Git - bison.git/blobdiff - configure.ac
djgpp/config.sed: Adjust config.sed for the use of autoconf 2.60.
[bison.git] / configure.ac
index 79dff3aceddde3a161f0c53492d330e3d9840020..e71fadb431bf4fbd294c427a89545bf8d4b27625 100644 (file)
@@ -30,8 +30,7 @@ AM_INIT_AUTOMAKE([1.8 check-news readme-alpha dist-bzip2])
 AC_CONFIG_HEADERS([lib/config.h:lib/config.hin])
 
 # Checks for the compiler.
-AC_PROG_CC
-AM_PROG_CC_STDC
+AC_PROG_CC_STDC
 
 # Gnulib (early checks).
 gl_EARLY
@@ -47,8 +46,8 @@ if test "${enableval}" = yes; then
   gl_WARNING_CFLAGS([-Werror])
   AC_SUBST([WERROR_CFLAGS], [$WARNING_CFLAGS])
   WARNING_CFLAGS=
-  gl_WARNING_CFLAGS([-Wextra -Wno-sign-compare])
   gl_WARNING_CFLAGS([-Wall])
+  gl_WARNING_CFLAGS([-Wextra -Wno-sign-compare])
   gl_WARNING_CFLAGS([-Wcast-align])
   gl_WARNING_CFLAGS([-Wcast-qual])
   gl_WARNING_CFLAGS([-Wformat])