Commit 0a045661 authored by Baptiste Coudurier's avatar Baptiste Coudurier

Check Xfixes.h header presence before enabling x11grab.

This fixes compilation when lib is present but not header.

Originally committed as revision 20673 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent d52b4abe
...@@ -2476,6 +2476,7 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack ...@@ -2476,6 +2476,7 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack
enabled x11grab && enabled x11grab &&
check_header X11/Xlib.h && check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h && check_header X11/extensions/XShm.h &&
check_header X11/extensions/Xfixes.h &&
check_func XOpenDisplay -lX11 && check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext && check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment