xcbgrab: Check for xcb-shape
authorLuca Barbato <lu_zero@gentoo.org>
Tue, 25 Nov 2014 22:38:17 +0000 (23:38 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Sun, 15 Feb 2015 17:20:54 +0000 (18:20 +0100)
It is required.

configure

index 149af6f..056f0f2 100755 (executable)
--- a/configure
+++ b/configure
@@ -4297,7 +4297,7 @@ fi
 check_lib X11/Xlib.h XOpenDisplay -lX11 && enable xlib
 
 if enabled libxcb || enabled x11grab && ! disabled libxcb; then
-    check_pkg_config xcb xcb/xcb.h xcb_connect || {
+    check_pkg_config xcb-shape xcb/shape.h xcb_shape_rectangles || {
         enabled libxcb && die "ERROR: libxcb not found";
     } && disable x11grab && enable libxcb