diff --git a/configure b/configure index 55b941b3b5..9be1b3e26a 100755 --- a/configure +++ b/configure @@ -5057,8 +5057,8 @@ enabled xlib && check_lib X11/Xlib.h XOpenDisplay -lX11 || disable xlib if ! disabled libxcb; then - check_pkg_config xcb xcb/xcb.h xcb_connect || { - enabled libxcb && die "ERROR: libxcb not found"; + check_pkg_config "xcb >= 1.4" xcb/xcb.h xcb_connect || { + enabled libxcb && die "ERROR: libxcb >= 1.4 not found"; } && disable x11grab && enable libxcb if enabled libxcb; then