diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2007-01-04 09:12:28 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2007-01-04 09:12:28 +0000 |
commit | 48edcc3fccaddb1ea621b30657f7ad44519c54b2 (patch) | |
tree | e4b2e739a3c6ac8edc6a7b3682f36c6951750984 /configure | |
parent | 1f316156158b02471f0ea43c676413e7895a6fa5 (diff) | |
download | newlib-48edcc3fccaddb1ea621b30657f7ad44519c54b2.zip newlib-48edcc3fccaddb1ea621b30657f7ad44519c54b2.tar.gz newlib-48edcc3fccaddb1ea621b30657f7ad44519c54b2.tar.bz2 |
2007-01-04 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Use DEV-PHASE to detect the default for --enable-werror.
* configure: Regenerate.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 |