diff options
author | Eric Anholt <eric@anholt.net> | 2007-06-13 13:40:39 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2007-06-13 13:40:39 -0700 |
commit | 6c29e0bae5f1e7cee02b678418394abb971594eb (patch) | |
tree | ab9bf6f75176170c5dc069f70fad6fe11e4b7463 | |
parent | 420e41e7921d3cc07c784fd17936ec8a675f3b20 (diff) |
Improve the drm_i915_flip_t check.
-rw-r--r-- | configure.ac | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index da9fd3f6..66992fc1 100644 --- a/configure.ac +++ b/configure.ac @@ -191,11 +191,14 @@ if test "$DRI" = yes; then fi save_CFLAGS="$CFLAGS" - CFLAGS="$DRI_CFLAGS" + CFLAGS="$XORG_CFLAGS $DRI_CFLAGS" AC_CHECK_TYPE(drm_i915_flip_t, [AC_DEFINE(HAVE_I915_FLIP, 1, [Have drm_i915_flip_t and related definitions])], - [], [#include <i915_drm.h>]) + [], [ +#include <inttypes.h> +#include <i915_drm.h> +]) CFLAGS="$save_CFLAGS" fi |