[PATCH:libX11 3/3] config: remove AC_PROG_CC as it overrides AC_PROG_C_C99

Gaetan Nadon memsize at videotron.ca
Sun Jan 16 18:15:24 PST 2011


On Sun, 2011-01-16 at 12:17 -0800, Alan Coopersmith 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: Alan Coopersmith <alan.coopersmith at oracle.com>
> ---
>  configure.ac |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/configure.ac b/configure.ac
> index b75a199..95cd873 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -33,7 +33,6 @@ XORG_PROG_RAWCPP
>  
>  # Checks for programs.
>  AC_PROG_LIBTOOL
> -AC_PROG_CC
>  PKG_PROG_PKG_CONFIG
>  
>  if test x"$CC_FOR_BUILD" = x; then


Reviewed-by: Gaetan Nadon <memsize at videotron.ca>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.x.org/archives/xorg-devel/attachments/20110116/ff3097ab/attachment.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/20110116/ff3097ab/attachment.pgp>


More information about the xorg-devel mailing list