summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorChris Wilson <chris@chris-wilson.co.uk>2010-03-26 19:37:08 +0000
committerChris Wilson <chris@chris-wilson.co.uk>2010-05-12 20:54:49 +0100
commitbd672d080ca0036ef1b88d26583e6af36f541461 (patch)
tree78504de713e643fc0909fc1c3e9fbfb30f9b28af /configure.ac
parentc8fba4960339797521afbf8068fcbe62d064f5dc (diff)
drm: code dump, sorry.
Lots upon lots of tiny fixes mixed in with experimental code. :(
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 5c3e0bad2..493fdc1c8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -258,6 +258,19 @@ CAIRO_ENABLE_SURFACE_BACKEND(drm, DRM, no, [
use_drm="no (requires $drm_REQUIRES, udev is available from git://git.kernel.org/pub/scm/linux/hotplug/udev.git)"])
])
+CAIRO_ENABLE_FUNCTIONS(drm_xr, DRM Xr (DDX), no, [
+ if test "x$use_drm" == "xyes"; then
+ drm_xr_REQUIRES="xorg-server >= 1.6 xproto xextproto >= 7.0.99.1 renderproto x11"
+ PKG_CHECK_MODULES(drm_xr, $drm_xr_REQUIRES, ,
+ [AC_MSG_RESULT(no)
+ use_drm_xr="no (requires $drm_xr)"])
+ drm_xr_CFLAGS=`echo "$drm_xr_CFLAGS" | $SED -e 's/-fvisibility=hidden//g'`
+ else
+ use_drm_xr="no (requires --enable-drm)"
+ fi
+])
+AM_CONDITIONAL(BUILD_DRM_XR, test "x$use_drm_xr" = "xyes")
+
CAIRO_ENABLE_SURFACE_BACKEND(gallium, Gallium3D, no, [
if test "x$use_drm" = "xyes"; then
AC_ARG_WITH([gallium],