diff options
-rw-r--r-- | bfd/ChangeLog | 4 | ||||
-rwxr-xr-x | bfd/configure | 14 | ||||
-rw-r--r-- | bfd/configure.in | 10 | ||||
-rw-r--r-- | binutils/ChangeLog | 4 | ||||
-rwxr-xr-x | binutils/configure | 14 | ||||
-rw-r--r-- | binutils/configure.in | 10 | ||||
-rw-r--r-- | gas/ChangeLog | 4 | ||||
-rwxr-xr-x | gas/configure | 14 | ||||
-rw-r--r-- | gas/configure.in | 8 | ||||
-rw-r--r-- | gprof/ChangeLog | 4 | ||||
-rwxr-xr-x | gprof/configure | 14 | ||||
-rw-r--r-- | gprof/configure.in | 10 | ||||
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rwxr-xr-x | ld/configure | 14 | ||||
-rw-r--r-- | ld/configure.in | 10 | ||||
-rw-r--r-- | opcodes/ChangeLog | 4 | ||||
-rwxr-xr-x | opcodes/configure | 14 | ||||
-rw-r--r-- | opcodes/configure.in | 10 |
18 files changed, 83 insertions, 83 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index edd7edae4dc..9aa67e96496 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-16 Nick Clifton <nickc@redhat.com> diff --git a/bfd/configure b/bfd/configure index 61afe156356..2918460fd57 100755 --- a/bfd/configure +++ b/bfd/configure @@ -859,7 +859,7 @@ Optional Features: --enable-64-bit-bfd 64-bit support (on hosts with narrower word sizes) --enable-targets alternative target configurations --enable-commonbfdlib build shared BFD/opcodes/libiberty library - --enable-error-on-warning treat compile warnings as errors + --enable-werror treat compile warnings as errors --enable-build-warnings Enable build-time compiler warnings if gcc is used --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -4265,19 +4265,19 @@ else fi; build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;} + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} { (exit 1); exit 1; }; } ;; esac fi; -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then diff --git a/bfd/configure.in b/bfd/configure.in index afcae656b1e..9eafb2c1092 100644 --- a/bfd/configure.in +++ b/bfd/configure.in @@ -53,21 +53,21 @@ esac],[want_mmap=false])dnl build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in diff --git a/binutils/ChangeLog b/binutils/ChangeLog index f45d24c6bdb..306c6221ca9 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-15 Daniel Marques <marques@cs.cornell.edu> diff --git a/binutils/configure b/binutils/configure index f02c92c3b93..518ac843f28 100755 --- a/binutils/configure +++ b/binutils/configure @@ -28,7 +28,7 @@ ac_help="$ac_help ac_help="$ac_help --enable-commonbfdlib build shared BFD/opcodes/libiberty library" ac_help="$ac_help - --enable-error-on-warning treat compile warnings as errors" + --enable-werror treat compile warnings as errors" ac_help="$ac_help --enable-build-warnings Enable build-time compiler warnings if gcc is used" ac_help="$ac_help @@ -2209,24 +2209,24 @@ fi build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { echo "configure: error: bad value ${enableval} for --enable-error-on-warning" 1>&2; exit 1; } ;; + *) { echo "configure: error: bad value ${enableval} for --enable-werror" 1>&2; exit 1; } ;; esac fi -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + # Check whether --enable-build-warnings or --disable-build-warnings was given. if test "${enable_build_warnings+set}" = set; then enableval="$enable_build_warnings" diff --git a/binutils/configure.in b/binutils/configure.in index 7f615f7533a..767d237f9ba 100644 --- a/binutils/configure.in +++ b/binutils/configure.in @@ -31,21 +31,21 @@ esac])dnl build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in diff --git a/gas/ChangeLog b/gas/ChangeLog index f2b3a470e31..fb1206957ec 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-16 Nick Clifton <nickc@redhat.com> diff --git a/gas/configure b/gas/configure index e389280aa33..60ebac926dc 100755 --- a/gas/configure +++ b/gas/configure @@ -859,7 +859,7 @@ Optional Features: --enable-bfd-assembler use BFD back end for writing object files targets alternative target configurations besides the primary --enable-commonbfdlib build shared BFD/opcodes/libiberty library - --enable-error-on-warning treat compile warnings as errors + --enable-werror treat compile warnings as errors --enable-build-warnings Enable build-time compiler warnings if gcc is used --disable-nls do not use Native Language Support --enable-maintainer-mode enable make rules and dependencies not useful @@ -4090,19 +4090,19 @@ using_cgen=no build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;} + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} { (exit 1); exit 1; }; } ;; esac fi; -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then diff --git a/gas/configure.in b/gas/configure.in index 580e7d0ef2d..b3db9b17d6b 100644 --- a/gas/configure.in +++ b/gas/configure.in @@ -50,15 +50,15 @@ using_cgen=no build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then diff --git a/gprof/ChangeLog b/gprof/ChangeLog index 9a07866f333..b13c796909e 100644 --- a/gprof/ChangeLog +++ b/gprof/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-15 Nick Clifton <nickc@redhat.com> diff --git a/gprof/configure b/gprof/configure index d8df9412e36..e637b930fa9 100755 --- a/gprof/configure +++ b/gprof/configure @@ -859,7 +859,7 @@ Optional Features: --disable-nls do not use Native Language Support --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer - --enable-error-on-warning treat compile warnings as errors + --enable-werror treat compile warnings as errors --enable-build-warnings Enable build-time compiler warnings if gcc is used Optional Packages: @@ -8289,19 +8289,19 @@ done build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;} + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} { (exit 1); exit 1; }; } ;; esac fi; -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then diff --git a/gprof/configure.in b/gprof/configure.in index de9d79128e2..01dd81fefaa 100644 --- a/gprof/configure.in +++ b/gprof/configure.in @@ -34,21 +34,21 @@ AC_CHECK_HEADERS(sys/gmon_out.h) build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in diff --git a/ld/ChangeLog b/ld/ChangeLog index c0dfec08597..e47e8ca135f 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-16 Alan Modra <amodra@bigpond.net.au> diff --git a/ld/configure b/ld/configure index d2dd368da41..bc7db6faeba 100755 --- a/ld/configure +++ b/ld/configure @@ -32,7 +32,7 @@ ac_help="$ac_help ac_help="$ac_help --with-sysroot[=DIR] Search for usr/lib et al within DIR." ac_help="$ac_help - --enable-error-on-warning treat compile warnings as errors" + --enable-werror treat compile warnings as errors" ac_help="$ac_help --enable-build-warnings enable build-time compiler warnings if gcc is used" ac_help="$ac_help @@ -2262,24 +2262,24 @@ fi build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { echo "configure: error: bad value ${enableval} for --enable-error-on-warning" 1>&2; exit 1; } ;; + *) { echo "configure: error: bad value ${enableval} for --enable-werror" 1>&2; exit 1; } ;; esac fi -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + # Check whether --enable-build-warnings or --disable-build-warnings was given. if test "${enable_build_warnings+set}" = set; then enableval="$enable_build_warnings" diff --git a/ld/configure.in b/ld/configure.in index d84a2ae5574..39d4d1277a6 100644 --- a/ld/configure.in +++ b/ld/configure.in @@ -68,21 +68,21 @@ AC_SUBST(TARGET_SYSTEM_ROOT_DEFINE) build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings enable build-time compiler warnings if gcc is used], [case "${enableval}" in diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog index 0bf8a20aa01..9c47346df04 100644 --- a/opcodes/ChangeLog +++ b/opcodes/ChangeLog @@ -1,9 +1,9 @@ 2005-03-16 Nick Clifton <nickc@redhat.com> Ben Elliston <bje@au.ibm.com> - * configure.in (error-on-warning): New switch: Add -Werror to the + * configure.in (werror): New switch: Add -Werror to the compiler command line. Enabled by default. Disable via - --disable-error-on-warning. + --disable-werror. * configure: Regenerate. 2005-03-16 Alan Modra <amodra@bigpond.net.au> diff --git a/opcodes/configure b/opcodes/configure index 6f57f4a8128..31578476cfb 100755 --- a/opcodes/configure +++ b/opcodes/configure @@ -858,7 +858,7 @@ Optional Features: --disable-libtool-lock avoid locking (might break parallel builds) --enable-targets alternative target configurations --enable-commonbfdlib build shared BFD/opcodes/libiberty library - --enable-error-on-warning treat compile warnings as errors + --enable-werror treat compile warnings as errors --enable-build-warnings Enable build-time compiler warnings if gcc is used --enable-maintainer-mode enable make rules and dependencies not useful (and sometimes confusing) to the casual installer @@ -4244,19 +4244,19 @@ esac fi; build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -# Check whether --enable-error-on-warning or --disable-error-on-warning was given. -if test "${enable_error_on_warning+set}" = set; then - enableval="$enable_error_on_warning" +# Check whether --enable-werror or --disable-werror was given. +if test "${enable_werror+set}" = set; then + enableval="$enable_werror" case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-error-on-warning" >&5 -echo "$as_me: error: bad value ${enableval} for --enable-error-on-warning" >&2;} + *) { { echo "$as_me:$LINENO: error: bad value ${enableval} for --enable-werror" >&5 +echo "$as_me: error: bad value ${enableval} for --enable-werror" >&2;} { (exit 1); exit 1; }; } ;; esac fi; -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then diff --git a/opcodes/configure.in b/opcodes/configure.in index cdf5c51613e..8cca0b567d6 100644 --- a/opcodes/configure.in +++ b/opcodes/configure.in @@ -46,21 +46,21 @@ esac])dnl build_warnings="-W -Wall -Wstrict-prototypes -Wmissing-prototypes" -AC_ARG_ENABLE(error-on-warning, - [ --enable-error-on-warning treat compile warnings as errors], +AC_ARG_ENABLE(werror, + [ --enable-werror treat compile warnings as errors], [case "${enableval}" in yes | y) ERROR_ON_WARNING="yes" ;; no | n) ERROR_ON_WARNING="no" ;; - *) AC_MSG_ERROR(bad value ${enableval} for --enable-error-on-warning) ;; + *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default, suppressing it only for --disable-error-on-warning +# Enable -Werror by default, suppressing it only for --disable-werror # or --disable-build-warnings. if test "${ERROR_ON_WARNING}" != no then build_warnings="$build_warnings -Werror" fi - + AC_ARG_ENABLE(build-warnings, [ --enable-build-warnings Enable build-time compiler warnings if gcc is used], [case "${enableval}" in |