summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2009-11-18 08:07:56 -0700
committerBrian Paul <brianp@vmware.com>2009-11-18 08:07:56 -0700
commitd449c07b8bfd1789b4f643b0eb0b1fac5314ebbe (patch)
treedeaac915e34914b327da84afda26706c1edae580 /configure.ac
parent2b3ea2be906fbe0bf08f08f23ec39c0feb7a8f39 (diff)
xorg/st: fixup builds against later dpms headers.
(cherry picked from master, commit e9d6ab72be065becf7a077c33919d37faa8db92e)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5d11cf84527..85385452c04 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1157,6 +1157,11 @@ yes)
if test "$tracker" = egl && test "x$enable_egl" != xyes; then
AC_MSG_ERROR([cannot build egl state tracker without EGL library])
fi
+ if test "$tracker" = xorg; then
+ PKG_CHECK_MODULES(XEXT, [xextproto >= 7.0.99.1],
+ HAVE_XEXTPROTO_71="yes"; DEFINES="$DEFINES -DHAVE_XEXTPROTO_71"
+ HAVE_XEXTPROTO_71="no")
+ fi
done
GALLIUM_STATE_TRACKERS_DIRS="$state_trackers"
;;