[Intel-gfx] [PATCH 2/5] configure: group system header checks at the top
Rémi Cardona
remi at gentoo.org
Wed Oct 28 13:46:39 CET 2009
Signed-off-by: Rémi Cardona <remi at gentoo.org>
---
configure.ac | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/configure.ac b/configure.ac
index 8661887..9978958 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,6 +43,7 @@ AM_PROG_CC_C_O
PKG_CHECK_MODULES(GEN4ASM, [intel-gen4asm >= 1.0], [gen4asm=yes], [gen4asm=no])
AM_CONDITIONAL(HAVE_GEN4ASM, test x$gen4asm = xyes)
+AC_HEADER_STDC
AC_CHECK_HEADERS(sys/mman.h)
AC_CHECK_FUNCS(mprotect)
@@ -100,11 +101,6 @@ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
-# Checks for libraries.
-
-# Checks for header files.
-AC_HEADER_STDC
-
save_CFLAGS="$CFLAGS"
CFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"
CPPFLAGS="$XORG_CFLAGS $DRI_CFLAGS $DRM_CFLAGS"
--
1.6.5.1
More information about the Intel-gfx
mailing list