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

James Almer jamrial at gmail.com
Fri Sep 29 01:56:21 EEST 2017


Signed-off-by: James Almer <jamrial at gmail.com>
---
 configure | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/configure b/configure
index c2f5fc2c98..ebcf48de20 100755
--- a/configure
+++ b/configure
@@ -6215,6 +6215,8 @@ if enabled libxcb; then
 
     add_cflags $xcb_cflags $xcb_shm_cflags $xcb_xfixes_cflags $xcb_shape_cflags
     add_extralibs $xcb_extralibs $xcb_shm_extralibs $xcb_xfixes_extralibs $xcb_shape_extralibs
+else
+    disable libxcb_shm libxcb_shape libxcb_xfixes
 fi
 
 check_func_headers "windows.h" CreateDIBSection "$gdigrab_indev_extralibs"
-- 
2.14.1



More information about the ffmpeg-devel mailing list