[PATCH app-xdm 09/11] config: remove AC_PROG_CC as it overrides AC_PROG_C_C99

Mark Kettenis mark.kettenis at xs4all.nl
Sun Aug 29 07:35:53 PDT 2010


> From: Gaetan Nadon <memsize at videotron.ca>
> Date: Sun, 29 Aug 2010 09:24:50 -0400
> 
> 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.

I'm confused here.  Why does xdm (or anything in Xorg for that matter)
use AC_PROG_C_C99?  Things are still supposed to compile with a C89
compiler with a minimal set of C99 extensions.  And surely if C99 is
requested, we want standard C99 and not the GNU dialect implied by
-std=gnu99?


More information about the xorg-devel mailing list