2007-01-04 Paolo Bonzini <bonzini@gnu.org>

* configure.in: Use DEV-PHASE to detect the default for --enable-werror.
	* configure: Regenerate.
This commit is contained in:
Paolo Bonzini
2007-01-04 09:12:28 +00:00
parent 1f31615615
commit 48edcc3fcc
3 changed files with 14 additions and 3 deletions

5
configure vendored
View File

@@ -7439,13 +7439,16 @@ fi
# Enable -Werror in bootstrap stage2 and later.
# Change the default to "no" on release branches.
# Check whether --enable-werror or --disable-werror was given.
if test "${enable_werror+set}" = set; then
enableval="$enable_werror"
:
else
if test -d gcc && test x"`cat $srcdir/gcc/DEV-PHASE`" = xexperimental; then
enable_werror=yes
else
enable_werror=no
fi
fi
case ${enable_werror} in