From 2613dce46b3b75b7e6e6af5a828aa20e07cf6057 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Tue, 21 Jun 2005 02:04:56 +0000 Subject: [PATCH] * aclocal.m4 (WITH_CC): Don't use -pedantic on Linux git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@17260 dc483132-0cff-0310-8789-dd5450dbe970 --- src/ChangeLog | 2 ++ src/aclocal.m4 | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/ChangeLog b/src/ChangeLog index 3731851e3..0c3f789d0 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -2,6 +2,8 @@ * aclocal.m4: Novell merge. + * aclocal.m4 (WITH_CC): Don't use -pedantic on Linux. + 2005-06-14 Ken Raeburn * configure.in: Check for endian.h. diff --git a/src/aclocal.m4 b/src/aclocal.m4 index f3491d220..2ff8567f1 100644 --- a/src/aclocal.m4 +++ b/src/aclocal.m4 @@ -572,6 +572,8 @@ if test "$GCC" = yes ; then CFLAGS="$CFLAGS $extra_gcc_warn_opts" if test "`uname -s`" = Darwin ; then AC_MSG_NOTICE(skipping pedantic warnings on Darwin) + elif test "`uname -s`" = Linux ; then + AC_MSG_NOTICE(skipping pedantic warnings on Linux) else CFLAGS="$CFLAGS -pedantic" fi -- 2.26.2