summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorUli Schlachter <psychon@znc.in>2011-09-16 10:43:44 +0200
committerUli Schlachter <psychon@znc.in>2011-09-16 17:45:27 +0200
commit7ba28ff563ab8a8e77213789860b2d412577a309 (patch)
tree4e9119471f63091bef58ff285524b75e331bc9f8 /configure.ac
parentb6c3fea672592a77b0b6fa487b403c981921b13a (diff)
cairo-xcb: Require libxcb 1.6
Since commit 968eb30bba1dc94, we use xcb_discard_reply(). This function was added in libxcb 1.6. "Fixes": https://bugs.freedesktop.org/show_bug.cgi?id=40925 Signed-off-by: Uli Schlachter <psychon@znc.in>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index e66ddffe0..2d3fd368f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -101,13 +101,10 @@ CAIRO_ENABLE_SURFACE_BACKEND(xlib_xrender, Xlib Xrender, auto, [
dnl ===========================================================================
CAIRO_ENABLE_SURFACE_BACKEND(xcb, XCB, auto, [
- xcb_REQUIRES="xcb >= 1.1.92 xcb-render >= 0.9.92"
+ xcb_REQUIRES="xcb >= 1.6 xcb-render >= 1.6"
PKG_CHECK_MODULES(xcb, $xcb_REQUIRES, ,
[AC_MSG_RESULT(no)
use_xcb="no (requires $xcb_REQUIRES http://xcb.freedesktop.org)"])
- if $PKG_CONFIG --atleast-version=1.4 xcb; then
- CAIRO_CFLAGS="$CAIRO_CFLAGS -DXCB_GENERIC_ERROR_HAS_MAJOR_MINOR_CODES"
- fi
])
CAIRO_ENABLE_FUNCTIONS(xlib_xcb, Xlib/XCB, no, [