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

Gaetan Nadon memsize at videotron.ca
Wed Jan 19 13:33:35 PST 2011


On Wed, 2011-01-19 at 20:53 +0100, 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
>  


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>

Dan has some reservations, you may want to wait a bit.
Feel free to verify my assertions, it's been a while since I tested
these things.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110119/3b0e7039/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110119/3b0e7039/attachment-0001.pgp>


More information about the xorg-devel mailing list