From 425e30d58b7b62fff01fbb58585ee69b2df6fec1 Mon Sep 17 00:00:00 2001 From: Aaron Plattner Date: Thu, 27 Apr 2006 10:32:10 -0700 Subject: Determine whether PutImage hooks take a DrawablePtr by server version. Remove dependency on xorg-server >= 1.0.99.901. --- configure.ac | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'configure.ac') 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. -- cgit v1.2.3