ffmpeg | branch: master | Timo Rothenpieler <t...@rothenpieler.org> | Wed Jul 
14 23:16:02 2021 +0200| [7ec7e6aa2d394d8d25472c55c5da2e44b0a60041] | committer: 
Timo Rothenpieler

configure: use pkg-config for xlib/Xv

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ec7e6aa2d394d8d25472c55c5da2e44b0a60041
---

 configure | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 2d2d125fd3..5ef94e7ccd 100755
--- a/configure
+++ b/configure
@@ -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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to