[Mesa-dev] [PATCH] autoconf: add AM_PROG_CC_C_O

Olivier Galibert galibert at pobox.com
Fri Apr 13 12:48:10 PDT 2012


On Fri, Apr 13, 2012 at 11:06:18AM -0700, Ian Romanick wrote:
> On 04/13/2012 08:47 AM, nobled wrote:
> > Prevents this error with Automake 1.9:
> >
> > src/gallium/drivers/Makefile.am: C objects in subdir but
> > `AM_PROG_CC_C_O' not in `configure.ac'
> > autoreconf: automake failed with exit status: 1
> 
> What the heck is the difference between AM_PROG_CC_C_0 and AC_PROG_CC? 
> Are both really necessary?  Seems like... madness.

Isn't AM_PROG_CC_C_O the test whether the compiler can do both -c and
-o in the same command line (w.r.t -c only + mv which was needed for
some stupid compilers)?

  OG.



More information about the mesa-dev mailing list