[PATCH util-macros] XORG_STRICT_OPTION: remove redundant expansion of AC_PROG_CC macro

Rémi Cardona remi at gentoo.org
Sun May 16 00:08:36 PDT 2010


Le 15/05/2010 16:16, Gaetan Nadon a écrit :
> Calling AC_PROG_CC before AC_PROG_CC_C99 is not required.
> C99 is not an add-on to CC although either one will cache results
> than can be used by the other.
> 
> This is effectively a no-op. Note that if a module configure.ac
> file calls AC_PROG_CC after AC_PROG_CC_C99, the compiler will be reset
> to ISO_C89 from ISO_C99.
> Currently about half the xorg modules use C89 while the other half use C99.
> 
> Signed-off-by: Gaetan Nadon <memsize at videotron.ca>

Reviewed-by: Rémi Cardona <remi at gentoo.org>

Cheers,

Rémi


More information about the xorg-devel mailing list