summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-23 14:14:06 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-07-23 14:14:06 -0700
commit4772e37779221c32cd9aedf253c5d0097551b63e (patch)
treea3a331a8bedeeb3716c7e5395ead1c84cdbb9310
parentd5ee44e818b58ad7b2eba005a024cc60720787d8 (diff)
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 <alan.coopersmith@oracle.com>
-rw-r--r--configure.ac5
1 files changed, 0 insertions, 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`