diff options
author | Paolo Bonzini <bonzini@gnu.org> | 2007-01-04 09:12:28 +0000 |
---|---|---|
committer | Paolo Bonzini <bonzini@gnu.org> | 2007-01-04 09:12:28 +0000 |
commit | 79fcd0ece5c6df22ab18df06d6549cfcb75ed6e1 (patch) | |
tree | 59adee11cf31e2972a895e6ffe3f8bc539485a0b /configure | |
parent | 2b5ebeff8080e14545006c8b41bbbd7972ca4987 (diff) | |
download | gdb-79fcd0ece5c6df22ab18df06d6549cfcb75ed6e1.zip gdb-79fcd0ece5c6df22ab18df06d6549cfcb75ed6e1.tar.gz gdb-79fcd0ece5c6df22ab18df06d6549cfcb75ed6e1.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 |