[PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

Alan Coopersmith alan.coopersmith at oracle.com
Wed Jan 19 13:34:51 PST 2011


On 01/19/11 11:53 AM, Roberto Branciforti wrote:
> XORG_STRICT_OPTION from XORG_DEFAULT_OPTIONS calls AC_PROG_C_C99. This
> sets gcc with -std=gnu99. If AC_PROG_CC macro is called afterwards, it
> resets CC to gcc.
> 
> Signed-off-by: Roberto Branciforti <rbbrnc at gmail.com>
> ---
>  configure.ac |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index f35eb91..6ef023a 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -43,7 +43,7 @@ XORG_DEFAULT_OPTIONS
>  AM_CONFIG_HEADER(config.h)
>  
>  # checks for progs
> -AC_PROG_CC
> +#AC_PROG_CC
>  AC_PROG_LIBTOOL
>  AC_PROG_SED

We've been removing them completely in the other modules we've finished
this in, not just commenting them out.

-- 
	-Alan Coopersmith-        alan.coopersmith at oracle.com
	 Oracle Solaris Platform Engineering: X Window System



More information about the xorg-devel mailing list