diff mbox

[2/5] configure: group system header checks at the top

Message ID 9d0cc6c09f29f4e322158ddb4a8f2acf82eb34b3.1256733443.git.remi@gentoo.org (mailing list archive)
State Accepted
Headers show

Commit Message

Rémi Cardona Oct. 28, 2009, 12:46 p.m. UTC
None
diff mbox

Patch

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"