summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2009-10-28 11:45:55 +0100
committerOwain G. Ainsworth <oga@openbsd.org>2010-03-01 15:12:20 +0000
commit7bea14fed6d04f11a553cb0cbc4c88111d54cc07 (patch)
treeb06875d4e9f350fa4d84edc4ca97c8d95fdcf775 /configure.ac
parentd378bb1c873820bbd8468419428d8626a82c16d6 (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> (cherry picked from commit 07e0b2cff6107d6c86096c7da4e31b0c976794d5) Signed-off-by: Owain G. Ainsworth <oga@openbsd.org>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 1 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac
index 73907015..04a1a99b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -49,6 +49,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)
@@ -105,11 +106,6 @@ AM_CONDITIONAL(HAVE_XEXTPROTO_71, [ test "$HAVE_XEXTPROTO_71" = "yes" ])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
drm_cflags=$(pkg-config --cflags libdrm)
-# 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"