[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FYI: grep had to switch: AC_PROG_CC_STDC -> AC_PROG_CC

From: Adrian Bunk
Subject: Re: FYI: grep had to switch: AC_PROG_CC_STDC -> AC_PROG_CC
Date: Wed, 24 Oct 2012 23:07:44 +0300
User-agent: Mutt/1.5.21 (2010-09-15)

On Wed, Oct 24, 2012 at 12:29:13PM -0700, Paul Eggert wrote:
> On 10/24/2012 02:01 AM, Jim Meyering wrote:
> > When attempting to bootstrap grep.git using
> > autoconf.git (v2.69-37-gb9dc6b6), I see this failure:
> > 
> >     autoreconf: running: aclocal -I m4 -I m4
> > error: AC_PROG_CC cannot be called after AM_PROG_CC_C_O
> Yeowch.  Thanks for reporting this.  The problem arises because
> Automake's AM_PROG_CC_C_O redefines AC_PROG_CC.


> We don't want to discourage people from using AC_PROG_CC,
> so this is an Autoconf bug.  I installed this into Autoconf:

You also have to exclude AC_PROG_CC_C89 and AC_PROG_CC_C99 (similar
to AC_PROG_CC_STDC) in au_exclude_list in tests/ to fix the
"make check" errors this causes.



       "Is there not promise of rain?" Ling Tan asked suddenly out
        of the darkness. There had been need of rain for many days.
       "Only a promise," Lao Er said.
                                       Pearl S. Buck - Dragon Seed

reply via email to

[Prev in Thread] Current Thread [Next in Thread]