summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/aclocal.m45
2 files changed, 8 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index bb58f6918..a35107c28 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2003-12-13 Ken Raeburn <raeburn@mit.edu>
+
+ * aclocal.m4 (WITH_CC): Drop -Wno-comment, since we don't support
+ SunOS 4 any longer.
+
2003-12-05 Tom Yu <tlyu@mit.edu>
* configure.in: Add support for building an LD_PRELOAD object for
diff --git a/src/aclocal.m4 b/src/aclocal.m4
index 5757a7dec..646871764 100644
--- a/src/aclocal.m4
+++ b/src/aclocal.m4
@@ -469,9 +469,10 @@ if test $ac_cv_c_compiler_gnu = yes ; then
fi
AC_SUBST(HAVE_GCC)
# maybe add -Waggregate-return, or can we assume that actually works by now?
-# -Wno-comment is for SunOS system header <sys/stream.h>
+# -Wno-comment used to be used for SunOS system header <sys/stream.h>
+# -Wno-long-long, if needed, for k5-platform.h without inttypes.h etc.
extra_gcc_warn_opts="-Wall -Wmissing-prototypes -Wcast-qual \
- -Wcast-align -Wconversion -Wshadow -Wno-comment"
+ -Wcast-align -Wconversion -Wshadow"
if test "$GCC" = yes ; then
if test "x$krb5_ac_cflags_set" = xset ; then
AC_MSG_NOTICE(not adding extra gcc warning flags because CFLAGS was set)