From 1722b781286bbb7d98a90fa789d56219fd907ce7 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 3 Jan 2012 21:12:22 -0500 Subject: config: remove duplicate AC_PROG_CC and AC_PROG__CC_99 The compiler was configured three times. It is done once by XORG_DEFAULT_OPTIONS in util-macros. Signed-off-by: Gaetan Nadon Signed-off-by: Daniel Vetter --- configure.ac | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 185433c8..3e3e7d46 100644 --- a/configure.ac +++ b/configure.ac @@ -34,19 +34,16 @@ AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([1.10 foreign dist-bzip2]) AM_MAINTAINER_MODE([enable]) -# Support silent build rules, requires at least automake-1.11. Disable -# by either passing --disable-silent-rules to configure or passing V=1 -# to make -m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])]) - -# Checks for programs. -AC_PROG_CC -AC_PROG_CC_C99 - # Initialize libtool LT_PREREQ([2.2]) LT_INIT([disable-static]) +# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS +m4_ifndef([XORG_MACROS_VERSION], + [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.8) +XORG_DEFAULT_OPTIONS + PKG_CHECK_MODULES(DRM, [libdrm_intel >= 2.4.23 libdrm]) PKG_CHECK_MODULES(PCIACCESS, [pciaccess >= 0.10]) @@ -96,12 +93,6 @@ if test "x$SHADER_DEBUGGER" = xyes; then fi fi -# Require X.Org macros 1.8 or later for MAN_SUBSTS set by XORG_MANPAGE_SECTIONS -m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.8 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.8) -XORG_DEFAULT_OPTIONS - AC_CONFIG_FILES([ Makefile benchmarks/Makefile -- cgit v1.2.3