diff options
author | Rémi Cardona <remi@gentoo.org> | 2009-10-28 11:45:55 +0100 |
---|---|---|
committer | Rémi Cardona <remi@gentoo.org> | 2009-11-05 16:58:34 +0100 |
commit | 07e0b2cff6107d6c86096c7da4e31b0c976794d5 (patch) | |
tree | 326840e5ee752d0df7220d616c2bdb169422c05b | |
parent | 0401a4c3143c5b94875cb4c66c94a0d247c32da5 (diff) |
configure: group system header checks at the top
Signed-off-by: Rémi Cardona <remi@gentoo.org>
Acked-by: Chris Wilson <chris@chris-wilson.co.uk>
-rw-r--r-- | configure.ac | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index 8661887e..9978958a 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" |