[PATCH 2/2] libXft: remove AC_PROG_CC as it overrides AC_PROG_C_C99

Roberto Branciforti rbbrnc at gmail.com
Wed Jan 19 11:53:03 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: Roberto Branciforti <rbbrnc at gmail.com>
---
 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/configure.ac b/configure.ac
index f35eb91..6ef023a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ XORG_DEFAULT_OPTIONS
 AM_CONFIG_HEADER(config.h)
 
 # checks for progs
-AC_PROG_CC
+#AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_PROG_SED
 
-- 
1.6.4



More information about the xorg-devel mailing list