Jim Meyering
2012-10-24 09:01:47 UTC
When attempting to bootstrap grep.git using
autoconf.git (v2.69-37-gb9dc6b6), I see this failure:
autoreconf: running: aclocal -I m4 -I m4
configure.ac:81: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
../../lib/autoconf/c.m4:1459: AC_PROG_CC_STDC is expanded from...
m4/gnulib-common.m4:229: gl_PROG_CC_C99 is expanded from...
m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:81: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: /p/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
./bootstrap: autoreconf failed
I worked around it by making this change.
Date: Wed, 24 Oct 2012 11:00:14 +0200
Subject: [PATCH] build: use AC_PROG_CC_STDC rather than AC_PROG_CC
* configure.ac: Use AC_PROG_CC_STDC rather than AC_PROG_CC,
to accommodate autoconf-2.69-37+.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 1e51ffc..84c6049 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ dnl Checks for programs.
AC_CANONICAL_HOST
AC_PROG_AWK
AC_PROG_INSTALL
-AC_PROG_CC
+AC_PROG_CC_STDC
gl_EARLY
AC_PROG_RANLIB
--
1.8.0
autoconf.git (v2.69-37-gb9dc6b6), I see this failure:
autoreconf: running: aclocal -I m4 -I m4
configure.ac:81: error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
../../lib/autoconf/c.m4:1459: AC_PROG_CC_STDC is expanded from...
m4/gnulib-common.m4:229: gl_PROG_CC_C99 is expanded from...
m4/gnulib-comp.m4:34: gl_EARLY is expanded from...
configure.ac:81: the top level
autom4te: /usr/bin/m4 failed with exit status: 1
aclocal: error: /p/bin/autom4te failed with exit status: 1
autoreconf: aclocal failed with exit status: 1
./bootstrap: autoreconf failed
I worked around it by making this change.
From 703a9cf560db57abfc9ff3457fc5a696c1f563ac Mon Sep 17 00:00:00 2001
From: Jim Meyering <***@meyering.net>Date: Wed, 24 Oct 2012 11:00:14 +0200
Subject: [PATCH] build: use AC_PROG_CC_STDC rather than AC_PROG_CC
* configure.ac: Use AC_PROG_CC_STDC rather than AC_PROG_CC,
to accommodate autoconf-2.69-37+.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 1e51ffc..84c6049 100644
--- a/configure.ac
+++ b/configure.ac
@@ -77,7 +77,7 @@ dnl Checks for programs.
AC_CANONICAL_HOST
AC_PROG_AWK
AC_PROG_INSTALL
-AC_PROG_CC
+AC_PROG_CC_STDC
gl_EARLY
AC_PROG_RANLIB
--
1.8.0