Skip to content
Snippets Groups Projects
Commit 0a045661 authored by Baptiste Coudurier's avatar Baptiste Coudurier
Browse files

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
No related branches found
No related tags found
No related merge requests found
......@@ -2476,6 +2476,7 @@ enabled jack_indev && check_lib2 jack/jack.h jack_client_open -ljack
enabled x11grab &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&
check_header X11/extensions/Xfixes.h &&
check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment