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

Alan Coopersmith alan.coopersmith at oracle.com
Sun Jan 16 12:17:14 PST 2011


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
-- 
1.7.3.2



More information about the xorg-devel mailing list