[FFmpeg-devel] [PATCH]Only enable xcb-shm if error fields are available in the header
Clément Bœsch
u at pkh.me
Thu Dec 25 18:34:35 CET 2014
On Thu, Dec 25, 2014 at 06:19:45PM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> Attached patch fixes ticket #4139 here, please comment.
>
> Merry Christmas, Carl Eugen
> diff --git a/configure b/configure
> index 9085200..ad9edff 100755
> --- a/configure
> +++ b/configure
> @@ -5063,7 +5063,8 @@ if ! disabled libxcb; then
>
> if enabled libxcb; then
> disabled libxcb_shm || {
> - 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"
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141225/ea56e5e5/attachment.asc>
More information about the ffmpeg-devel
mailing list