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" || {
             enabled libxcb_shm && die "ERROR: libxcb_shm not found";
         } && check_header sys/shm.h && enable libxcb_shm; }
 
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to