summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2009-09-21 13:26:48 +1000
committerDave Airlie <airlied@redhat.com>2009-09-21 13:26:48 +1000
commite9d6ab72be065becf7a077c33919d37faa8db92e (patch)
treea5ec8ee46f321e26cec58e18f9f287ae89b3115b /configure.ac
parent1a9eec84bd363409b884fbf468dbec6ca595b593 (diff)
xorg/st: fixup builds against later dpms headers.
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 75189761ee7..2881bb6bc25 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1148,6 +1148,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"
;;