[PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99
rbbrnc at gmail.com
Wed Jan 19 13:46:19 PST 2011
On Wednesday 19 January 2011 22:33:35 Gaetan Nadon wrote:
> 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>
> 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.
I'm not an autotool/m4 expert but I'll be happy to enable the "--enable-
strict-compilation" without ends in an error for a valid C99 code.
More information about the xorg-devel