[FFmpeg-devel] [PATCH 3/3] configure: fix --enable-x11grab

Clément Bœsch u at pkh.me
Wed Feb 17 22:07:59 CET 2016


On Wed, Feb 17, 2016 at 10:02:49PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> ---
>  configure |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index d7cda01..b94830b 100755
> --- a/configure
> +++ b/configure
> @@ -5766,7 +5766,7 @@ fi
>  enabled xlib &&
>      check_lib X11/Xlib.h XOpenDisplay -lX11 || disable xlib
>  
> -if ! disabled libxcb; then
> +if ! disabled libxcb && ! enabled x11grab; then
>      check_pkg_config "xcb >= 1.4" xcb/xcb.h xcb_connect || {
>          enabled libxcb && die "ERROR: libxcb >= 1.4 not found";
>      } && disable x11grab && enable libxcb

can you explain why we suddenly needs a special case for this? isn't it a
side effect to fix?

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160217/e45e2d3a/attachment.sig>


More information about the ffmpeg-devel mailing list