[FFmpeg-devel] [PATCH 1/2] configure: disable libxcb dependent features if libxcb is not enabled

James Almer jamrial at gmail.com
Wed Sep 27 21:19:07 EEST 2017


---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index a4baeb3b2a..1676215146 100755
--- a/configure
+++ b/configure
@@ -6186,7 +6186,7 @@ if enabled libcdio; then
     die "ERROR: No usable libcdio/cdparanoia found"
 fi
 
-enabled libxcb && check_pkg_config "xcb >= 1.4" xcb/xcb.h xcb_connect || disable libxcb
+enabled libxcb && check_pkg_config "xcb >= 1.4" xcb/xcb.h xcb_connect || disable libxcb libxcb_shm libxcb_shape libxcb_xfixes
 
 if enabled libxcb; then
 
-- 
2.14.1



More information about the ffmpeg-devel mailing list