mirror of https://git.ffmpeg.org/ffmpeg.git
configure: fix and simplify xlib check
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
652b857b94
commit
0736f32a4f
|
@ -3228,8 +3228,7 @@ v4l2_outdev_suggest="libv4l2"
|
||||||
vfwcap_indev_deps="vfw32 vfwcap_defines"
|
vfwcap_indev_deps="vfw32 vfwcap_defines"
|
||||||
xcbgrab_indev_deps="libxcb"
|
xcbgrab_indev_deps="libxcb"
|
||||||
xcbgrab_indev_suggest="libxcb_shm libxcb_shape libxcb_xfixes"
|
xcbgrab_indev_suggest="libxcb_shm libxcb_shape libxcb_xfixes"
|
||||||
xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
|
xv_outdev_deps="xlib"
|
||||||
xv_outdev_extralibs="-lXv -lX11 -lXext"
|
|
||||||
|
|
||||||
# protocols
|
# protocols
|
||||||
async_protocol_deps="threads"
|
async_protocol_deps="threads"
|
||||||
|
@ -5804,7 +5803,7 @@ check_func_headers windows.h Sleep
|
||||||
check_func_headers windows.h VirtualAlloc
|
check_func_headers windows.h VirtualAlloc
|
||||||
check_func_headers glob.h glob
|
check_func_headers glob.h glob
|
||||||
enabled xlib &&
|
enabled xlib &&
|
||||||
check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
|
check_lib xlib "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
|
||||||
|
|
||||||
check_header direct.h
|
check_header direct.h
|
||||||
check_header dirent.h
|
check_header dirent.h
|
||||||
|
|
Loading…
Reference in New Issue