From: Ken Raeburn Date: Tue, 21 Jun 2005 02:04:56 +0000 (+0000) Subject: * aclocal.m4 (WITH_CC): Don't use -pedantic on Linux X-Git-Tag: ms-bug-test-20060525~228 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=2613dce46b3b75b7e6e6af5a828aa20e07cf6057;p=krb5.git * 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 --- 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