aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJames Almer <jamrial@gmail.com>2017-10-08 18:46:21 -0300
committerJames Almer <jamrial@gmail.com>2017-10-08 18:46:25 -0300
commit65c3a32836f477f23763003112fa77ce321fabe5 (patch)
treea4ed48d288b2584094e907ef4bca23d0110d9b3e /configure
parentcd01b3cbcf3bc738dd9714fa760f6a8fec0b39d2 (diff)
downloadffmpeg-65c3a32836f477f23763003112fa77ce321fabe5.tar.gz
configure: disable libxcb dependent features if libxcb is not enabled
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index d5e96e95e1..946124025d 100755
--- a/configure
+++ b/configure
@@ -6199,7 +6199,8 @@ if enabled libcdio; then
die "ERROR: No usable libcdio/cdparanoia found"
fi
-enabled libxcb && check_pkg_config libxcb "xcb >= 1.4" xcb/xcb.h xcb_connect
+enabled libxcb && check_pkg_config libxcb "xcb >= 1.4" xcb/xcb.h xcb_connect ||
+ disable libxcb_shm libxcb_shape libxcb_xfixes
if enabled libxcb; then
enabled libxcb_shm && check_pkg_config libxcb_shm xcb-shm xcb/shm.h xcb_shm_attach