From 4772e37779221c32cd9aedf253c5d0097551b63e Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 23 Jul 2010 14:14:06 -0700 Subject: Remove several unnecessary macros from configure.ac PKG_CHECK_MODULES automatically calls AC_SUBST on the CFLAGS & LIBS variables it sets 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. AM_PROG_CC_C_O is not needed since we are not compiling multiple targets with differing CFLAGS. Signed-off-by: Alan Coopersmith --- configure.ac | 5 ----- 1 file changed, 5 deletions(-) diff --git a/configure.ac b/configure.ac index f796dc8..612f029 100644 --- a/configure.ac +++ b/configure.ac @@ -34,15 +34,10 @@ XORG_DEFAULT_OPTIONS AM_CONFIG_HEADER(config.h) -AC_PROG_CC -AM_PROG_CC_C_O AC_PROG_INSTALL - # Checks for pkg-config packages PKG_CHECK_MODULES(XMORE, xaw7) -AC_SUBST(XMORE_CFLAGS) -AC_SUBST(XMORE_LIBS) PKG_CHECK_MODULES(APPDEFS, xt) xt_appdefaultdir=`$PKG_CONFIG --variable=appdefaultdir xt` -- cgit v1.2.3