]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(AC_PROG_CC_STDC): Use this instead of AC_PROG_CC, so that
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Nov 2005 23:03:11 +0000 (23:03 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 18 Nov 2005 23:03:11 +0000 (23:03 +0000)
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.

configure.ac

index 96bea7c565e52db803e7b395814ae13e415e65f4..7a33486aa0e2ac0cc33addd4da99f41afa8dea6d 100644 (file)
@@ -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