Commit 83f64da99332a2ccb1c4641a8a3848ef523d7f58

Gaetan Nadon 2010-12-03T14:39:13

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. Acked-by: Daniel Stone <daniel@fooishbar.org> Signed-off-by: Gaetan Nadon <memsize@videotron.ca>

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/configure.ac b/configure.ac
index aca85e0..61d6f2f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -35,7 +35,6 @@ AM_MAINTAINER_MODE
 # Initialize libtool
 AC_PROG_LIBTOOL
 
-AC_PROG_CC
 AC_PROG_YACC
 AC_PROG_LEX