Commit 06eab4ba authored by Ramiro Polla's avatar Ramiro Polla
Browse files

Let the dependency checker decide about x11_grab_device_demuxer

Originally committed as revision 10542 to svn://
parent 32bbb99d
......@@ -794,7 +794,7 @@ rtsp_demuxer_deps="rtp_protocol rtp_muxer"
x11_grab_device_demuxer_deps="x11grab XShmCreateImage"
x11_grab_device_demuxer_extralibs="-lX11 -lXext"
# protocols
......@@ -1701,12 +1701,10 @@ check_header soundcard.h
# Deal with the x11 frame grabber
enabled x11grab &&
enabled x11_grab_device_demuxer &&
check_header X11/Xlib.h &&
check_header X11/extensions/XShm.h &&
check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext ||
disable x11_grab_device_demuxer
check_func XShmCreateImage -lX11 -lXext
enabled debug && add_cflags -g
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