aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason Molenda <jmolenda@apple.com>1998-09-25 03:04:03 +0000
committerJason Molenda <jmolenda@apple.com>1998-09-25 03:04:03 +0000
commit4817b40893ad3836543d8254269860687578dd3d (patch)
treebc99e9ead27335e65f0e4dfe9e8292aa709de454
parent4b23e55c624b367e13310864ecc43bda71c5e006 (diff)
downloadgdb-4817b40893ad3836543d8254269860687578dd3d.zip
gdb-4817b40893ad3836543d8254269860687578dd3d.tar.gz
gdb-4817b40893ad3836543d8254269860687578dd3d.tar.bz2
1998-09-24 Jason Molenda (jsm@bugshack.cygnus.com)
* configure.in: Change --enable-warnings to --enable-build-warnings. * configure: Updated.
-rw-r--r--gdb/ChangeLog5
-rwxr-xr-xgdb/configure8
-rw-r--r--gdb/configure.in8
3 files changed, 13 insertions, 8 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index fed5060..c890868 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,5 +1,10 @@
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.
* configure: Regenerated.
diff --git a/gdb/configure b/gdb/configure
index 6fbb643..0fcdd38 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -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
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