[cairo-commit] configure.ac
Chris Wilson
ickle at kemper.freedesktop.org
Mon Jan 25 08:27:02 PST 2010
configure.ac | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
New commits:
commit e1b3330376c173633e146eb6cf578592d424e4d5
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Mon Jan 25 14:48:44 2010 +0000
configure: dri2 is only required for xcb-drm
Move the optional dependency on dri2 to the xcb-drm integration where it
is required.
diff --git a/configure.ac b/configure.ac
index f94d9c1..30d3e98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -109,7 +109,7 @@ CAIRO_ENABLE_SURFACE_BACKEND(xlib_xrender, Xlib Xrender, auto, [
dnl ===========================================================================
CAIRO_ENABLE_SURFACE_BACKEND(xcb, XCB, no, [
- xcb_REQUIRES="xcb >= 0.9.92 xcb-render >= 0.9.92 xcb-shm xcb-dri2"
+ xcb_REQUIRES="xcb >= 0.9.92 xcb-render >= 0.9.92 xcb-shm"
PKG_CHECK_MODULES(xcb, $xcb_REQUIRES, ,
[AC_MSG_RESULT(no)
use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"])
@@ -255,7 +255,10 @@ CAIRO_ENABLE_SURFACE_BACKEND(gallium, Gallium3D, no, [
CAIRO_ENABLE_FUNCTIONS(xcb_drm, XCB/DRM, no, [
if test "x$use_xcb" == "xyes" -a "x$use_drm" == "xyes"; then
- use_xcb_drm="yes"
+ xcb_drm_REQUIRES="xcb-dri2"
+ PKG_CHECK_MODULES(xcb_drm, $xcb_drm_REQUIRES, ,
+ [AC_MSG_RESULT(no)
+ use_xcb_drm="no (requires $xcb_drm_REQUIRES http://xcb.freedesktop.org)"])
else
use_xcb_drm="no (requires both --enable-xcb and --enable-drm)"
fi
More information about the cairo-commit
mailing list