summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2006-04-27 10:32:10 -0700
committerAaron Plattner <aplattner@nvidia.com>2006-04-27 10:32:10 -0700
commit425e30d58b7b62fff01fbb58585ee69b2df6fec1 (patch)
tree4d967b47ed5e1689e1690987c455bfd74d4c4eab /configure.ac
parentc34a93265cb42168376ebdf0746b3ccded9f126c (diff)
Determine whether PutImage hooks take a DrawablePtr by server version. Remove
dependency on xorg-server >= 1.0.99.901.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5ac0706..8f44298 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,8 +53,13 @@ XORG_DRIVER_CHECK_EXT(RENDER, renderproto)
XORG_DRIVER_CHECK_EXT(XV, videoproto)
XORG_DRIVER_CHECK_EXT(DPMSExtension, xextproto)
+# Determine whether XV PutImage takes a DrawablePtr
+PKG_CHECK_EXISTS([xorg-server >= 1.0.99.901],
+ [AC_DEFINE(HAVE_XV_DRAWABLE,1,[XV hooks take a DrawablePtr])],
+ [])
+
# Checks for pkg-config packages
-PKG_CHECK_MODULES(XORG, [xorg-server >= 1.0.99.901 xproto fontsproto $REQUIRED_MODULES])
+PKG_CHECK_MODULES(XORG, [xorg-server xproto fontsproto $REQUIRED_MODULES])
sdkdir=$(pkg-config --variable=sdkdir xorg-server)
# Checks for libraries.