summaryrefslogtreecommitdiff
path: root/gcc/configure.ac
diff options
context:
space:
mode:
authorNathanael Nerode <neroden@gcc.gnu.org>2004-01-05 03:21:24 +0000
committerNathanael Nerode <neroden@gcc.gnu.org>2004-01-05 03:21:24 +0000
commitca9bc441e4c9480b10883e7811312b6b4deb4b89 (patch)
tree7e0f7d9aa0d6a688d88fc7beaf7a48024ec09c46 /gcc/configure.ac
parent955d023464779c437ce4e573682ace01d6d6c9fb (diff)
downloadgcc-ca9bc441e4c9480b10883e7811312b6b4deb4b89.tar.gz
configure.ac: Use AC_PROG_CPP_WERROR.
* configure.ac: Use AC_PROG_CPP_WERROR. * configure: Regenerate. From-SVN: r75411
Diffstat (limited to 'gcc/configure.ac')
-rw-r--r--gcc/configure.ac8
1 files changed, 6 insertions, 2 deletions
diff --git a/gcc/configure.ac b/gcc/configure.ac
index e8800a6cc82..a04a59da5ff 100644
--- a/gcc/configure.ac
+++ b/gcc/configure.ac
@@ -1,7 +1,7 @@
-# configure.in for GCC
+# configure.ac for GCC
# Process this file with autoconf to generate a configuration script.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
# Free Software Foundation, Inc.
#This file is part of GCC.
@@ -685,6 +685,10 @@ if test $gcc_cv_glibc = yes; then
AC_DEFINE(_GNU_SOURCE, 1, [Always define this when using the GNU C Library])
fi
+# Need to reject headers which give warnings, so that the -Werror bootstrap
+# works later. *sigh* This needs to come before all header checks.
+AC_PROG_CPP_WERROR
+
AC_HEADER_STDC
AC_HEADER_TIME
gcc_AC_HEADER_STDBOOL