config: remove AC_PROG_CC as it overrides AC_PROG_C_C99

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@oracle.com>
Reviewed-by: Gaetan Nadon <memsize@videotron.ca>
This commit is contained in:
Alan Coopersmith 2011-01-16 11:55:23 -08:00
parent 17aa1f2305
commit c6405fe931

View file

@ -34,7 +34,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