[FFmpeg-devel] [PATCH]Only enable xcb-shm if error fields are available in the header

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Dec 25 18:45:54 CET 2014


Clément Bœsch <u <at> pkh.me> writes:

> > -        check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach || {
> > +        check_pkg_config xcb-shm xcb/shm.h xcb_shm_attach &&
> > +        check_code cc xcb/xcb.h "xcb_generic_error_t e; 
> > e.resource_id = 0" || {
> 
> No, you just want something like check_pkg_config "xcb-shm >= 1.4"

Wouldn't this needlessly break building with xcb 1.3 installed?

Carl Eugen



More information about the ffmpeg-devel mailing list