From 4817b40893ad3836543d8254269860687578dd3d Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Fri, 25 Sep 1998 03:04:03 +0000 Subject: 1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com) * configure.in: Change --enable-warnings to --enable-build-warnings. * configure: Updated. --- gdb/configure.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gdb/configure.in') diff --git a/gdb/configure.in b/gdb/configure.in index ad552d7..a177c4b 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -279,14 +279,14 @@ if test "${enable_netrom}" = "yes"; then fi AC_ARG_ENABLE(warnings, -[ --enable-warnings Enable compiler warnings if gcc is used], +[ --enable-build-warnings Enable compiler warnings if gcc is used], [case "${enableval}" in -yes) enable_warnings=yes ;; -no) enable_warnings=no ;; +yes) enable_build_warnings=yes ;; +no) enable_build_warnings=no ;; *) AC_MSG_ERROR(bad value ${enableval} given for warnings options) ;; esac]) -if test "x$enable_warnings" = xyes -a "x$GCC" = xyes +if test "x$enable_build_warnings" = xyes -a "x$GCC" = xyes then WARN_CFLAGS="-Wall -Wstrict-prototypes -Wmissing-prototypes" else -- cgit v1.1