1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-28 20:53:54 +02:00

configure: disable libxcb dependent features if libxcb is not enabled

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer 2017-10-08 18:46:21 -03:00
parent cd01b3cbcf
commit 65c3a32836

3
configure vendored
View File

@ -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