diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2021-07-14 23:16:02 +0200 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2021-07-14 23:58:24 +0200 |
commit | 7ec7e6aa2d394d8d25472c55c5da2e44b0a60041 (patch) | |
tree | 9ed0ccfa5197ff1c09251f4e9417a18c8cf6abfd | |
parent | 1349de10b22d6c8643bec43eced296ec2a126671 (diff) | |
download | ffmpeg-7ec7e6aa2d394d8d25472c55c5da2e44b0a60041.tar.gz |
configure: use pkg-config for xlib/Xv
-rwxr-xr-x | configure | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -6193,8 +6193,9 @@ check_func_headers windows.h SetDllDirectory check_func_headers windows.h Sleep check_func_headers windows.h VirtualAlloc check_func_headers glob.h glob -enabled xlib && - check_lib xlib "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext +enabled xlib && { + check_pkg_config xlib xv "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute || + check_lib xlib "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext; } check_headers direct.h check_headers dirent.h |