Index: configure.ac =================================================================== RCS file: /cvs/src/src/gdb/configure.ac,v retrieving revision 1.106 diff -u -p -r1.106 configure.ac --- configure.ac 10 Sep 2009 03:59:36 -0000 1.106 +++ configure.ac 1 Oct 2009 19:17:55 -0000 @@ -1510,11 +1510,6 @@ AC_ARG_ENABLE(werror, *) AC_MSG_ERROR(bad value ${enableval} for --enable-werror) ;; esac]) -# Enable -Werror by default when using gcc -if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then - ERROR_ON_WARNING=yes -fi - WERROR_CFLAGS="" if test "${ERROR_ON_WARNING}" = yes ; then WERROR_CFLAGS="-Werror" Index: configure =================================================================== RCS file: /cvs/src/src/gdb/configure,v retrieving revision 1.288 diff -u -p -r1.288 configure --- configure 10 Sep 2009 03:59:37 -0000 1.288 +++ configure 1 Oct 2009 19:17:59 -0000 @@ -13067,11 +13067,6 @@ if test "${enable_werror+set}" = set; th fi -# Enable -Werror by default when using gcc -if test "${GCC}" = yes -a -z "${ERROR_ON_WARNING}" ; then - ERROR_ON_WARNING=yes -fi - WERROR_CFLAGS="" if test "${ERROR_ON_WARNING}" = yes ; then WERROR_CFLAGS="-Werror"