diff --git a/configure b/configure index 184d00cff7913843eed3e2e273e756d8c4454f24..766f9c2f267c48a087a6605cf0c8944a7b226672 100755 --- a/configure +++ b/configure @@ -4281,7 +4281,7 @@ fi check_lib X11/Xlib.h XOpenDisplay -lX11 && enable xlib if enabled libxcb || enabled x11grab && ! disabled libxcb; then - check_pkg_config xcb-event xcb/xcb.h xcb_connect || { + check_pkg_config xcb xcb/xcb.h xcb_connect || { enabled libxcb && die "ERROR: libxcb not found"; } && disable x11grab && enable libxcb