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

Ian Romanick idr at freedesktop.org
Fri Apr 13 11:06:18 PDT 2012


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.

> ---
>   configure.ac |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 65d358e..694505d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -48,6 +48,7 @@ dnl Check for progs
>   AC_PROG_CPP
>   AC_PROG_CC
>   AC_PROG_CXX
> +AM_PROG_CC_C_O
>   AC_CHECK_PROGS([MAKE], [gmake make])
>   AC_CHECK_PROGS([PYTHON2], [python2 python])
>   AC_PROG_SED



More information about the mesa-dev mailing list