1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
authorJason Molenda <jmolenda@apple.com>
Fri, 25 Sep 1998 03:04:03 +0000 (03:04 +0000)
committerJason Molenda <jmolenda@apple.com>
Fri, 25 Sep 1998 03:04:03 +0000 (03:04 +0000)
        * configure.in: Change --enable-warnings to --enable-build-warnings.
        * configure: Updated.

gdb/ChangeLog
gdb/configure
gdb/configure.in

index fed5060504225bf1bea07dc9ea4710e04a6fc5db..c890868602374cd4a063e89aa5815b05eb9b3798 100644 (file)
@@ -1,3 +1,8 @@
+1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)
+
+       * configure.in: Change --enable-warnings to --enable-build-warnings.
+       * configure: Updated.
+
 1998-09-24  Jason Molenda  (jsm@bugshack.cygnus.com)
 
        * configure.in (WARN_CFLAGS): Add -Wmissing-prototypes.
index 6fbb643d5a7355b741ad21015243e477c11dff90..0fcdd384ee22d77d79a9bde1657cabbe604ebc0f 100755 (executable)
@@ -18,7 +18,7 @@ ac_help="$ac_help
 ac_help="$ac_help
   --enable-netrom "
 ac_help="$ac_help
-  --enable-warnings       Enable compiler warnings if gcc is used"
+  --enable-build-warnings Enable compiler warnings if gcc is used"
 ac_help="$ac_help
   --with-mmalloc          Use memory mapped malloc package"
 ac_help="$ac_help
@@ -4527,14 +4527,14 @@ fi
 if test "${enable_warnings+set}" = set; then
   enableval="$enable_warnings"
   case "${enableval}" in
-yes)   enable_warnings=yes ;;
-no)    enable_warnings=no ;;
+yes)   enable_build_warnings=yes ;;
+no)    enable_build_warnings=no ;;
 *)     { echo "configure: error: bad value ${enableval} given for warnings options" 1>&2; exit 1; } ;;
 esac
 fi
 
 
-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
index ad552d79df4ee57e99b053495ce0056243bb04f6..a177c4b5970c21415a39c366fdb8756e8c0de94a 100644 (file)
@@ -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