From: Paul Eggert Date: Fri, 18 Nov 2005 23:03:11 +0000 (+0000) Subject: (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that X-Git-Tag: v6.0~1305 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=1314a5e7d361ac11ee071fb549c0f9cbdf293c30;p=thirdparty%2Fcoreutils.git (AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that we get a standard-conforming compiler. This relies on the new m4/c.m4 file. Note that it's a bit tricky, since c.m4 doesn't define AC_PROG_CC_STDC; we are relying on Autoconf 2.59 internals. m4/c.m4 can go away with Autoconf 2.60 comes out. --- diff --git a/configure.ac b/configure.ac index 96bea7c565..7a33486aa0 100644 --- a/configure.ac +++ b/configure.ac @@ -31,7 +31,7 @@ AM_INIT_AUTOMAKE([1.8.3 gnits dist-bzip2]) gl_DEFAULT_POSIX2_VERSION gl_USE_SYSTEM_EXTENSIONS gl_PERL -AC_PROG_CC +AC_PROG_CC_STDC AM_PROG_CC_C_O AC_PROG_CPP AC_PROG_GCC_TRADITIONAL