OSDN Git Service

2007-09-05 Richard Guenther <rguenther@suse.de>
authorrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 14:10:07 +0000 (14:10 +0000)
committerrguenth <rguenth@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 5 Sep 2007 14:10:07 +0000 (14:10 +0000)
* 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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@128131 138bc75d-0d04-0410-961f-82ee72b054a4

ChangeLog
configure
configure.ac

index 234f292..d4e4ef3 100644 (file)
--- 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.
index 1a37bfd..dd12627 100755 (executable)
--- 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;
 
index 2486049..57de100 100644 (file)
@@ -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)