aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Guenther <rguenther@suse.de>2007-09-05 14:10:07 +0000
committerRichard Biener <rguenth@gcc.gnu.org>2007-09-05 14:10:07 +0000
commite643dc23733beeb665a6841f8afe54b80388a459 (patch)
tree47648930adc7257564b04872b60f1324eab3d45e
parenta99288e554007c0ac5ecfdc7733de19f1a1965dc (diff)
downloadgcc-e643dc23733beeb665a6841f8afe54b80388a459.zip
gcc-e643dc23733beeb665a6841f8afe54b80388a459.tar.gz
gcc-e643dc23733beeb665a6841f8afe54b80388a459.tar.bz2
configure.ac (--enable-stage1-checking): If neither --enable-checking nor --disable-checking is provided also turn on...
2007-09-05 Richard Guenther <rguenther@suse.de> * configure.ac (--enable-stage1-checking): If neither --enable-checking nor --disable-checking is provided also turn on yes and types checking for stage1. * configure: Re-generate. From-SVN: r128131
-rw-r--r--ChangeLog7
-rwxr-xr-xconfigure4
-rw-r--r--configure.ac4
3 files changed, 11 insertions, 4 deletions
diff --git a/ChangeLog b/ChangeLog
index 234f292..d4e4ef3 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2007-09-05 Richard Guenther <rguenther@suse.de>
+
+ * configure.ac (--enable-stage1-checking): If neither --enable-checking
+ nor --disable-checking is provided also turn on yes and types
+ checking for stage1.
+ * configure: Re-generate.
+
2007-08-30 Krister Walfridsson <cato@df.lth.se>
* MAINTAINERS (OS Port Maintainers): Add myself as NetBSD maintainer.
diff --git a/configure b/configure
index 1a37bfd..dd12627 100755
--- a/configure
+++ b/configure
@@ -11992,10 +11992,10 @@ if test "${enable_stage1_checking+set}" = set; then
enableval="$enable_stage1_checking"
stage1_checking=--enable-checking=${enable_stage1_checking}
else
- if test "x$enable_checking" = xno; then
+ if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
stage1_checking=--enable-checking=yes,types
else
- stage1_checking=--enable-checking=types${enable_checking+,}$enable_checking
+ stage1_checking=--enable-checking=$enable_checking,types
fi
fi;
diff --git a/configure.ac b/configure.ac
index 2486049..57de100 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2613,10 +2613,10 @@ AC_ARG_ENABLE(stage1-checking,
[ --enable-stage1-checking@<:@=all@:>@ choose additional checking for stage1
of the compiler],
[stage1_checking=--enable-checking=${enable_stage1_checking}],
-[if test "x$enable_checking" = xno; then
+[if test "x$enable_checking" = xno || test "x$enable_checking" = x; then
stage1_checking=--enable-checking=yes,types
else
- stage1_checking=--enable-checking=types${enable_checking+,}$enable_checking
+ stage1_checking=--enable-checking=$enable_checking,types
fi])
AC_SUBST(stage1_checking)