summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-05-30 13:13:57 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-05-30 13:13:57 +0200
commitb3af9242d013cea1c55f20139316280596332eba (patch)
tree6e7b7c5352ee0ae636e9552ceee1ac93fb776f12 /configure
parent1a7ae6be2a8722d0a496acb11963e9540d7494d3 (diff)
Use -lX11 -lXext when linking Xv output device.
Reviewed-by: Stefano Sabatini
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 63d7ebba32..be20646b1c 100755
--- a/configure
+++ b/configure
@@ -2085,7 +2085,7 @@ v4l2_outdev_deps_any="linux_videodev2_h sys_videoio_h"
vfwcap_indev_deps="capCreateCaptureWindow vfwcap_defines"
vfwcap_indev_extralibs="-lavicap32"
xv_outdev_deps="X11_extensions_Xvlib_h XvGetPortAttribute"
-xv_outdev_extralibs="-lXv"
+xv_outdev_extralibs="-lXv -lX11 -lXext"
x11grab_indev_deps="x11grab"
# protocols
@@ -3984,7 +3984,7 @@ check_func_headers windows.h SetConsoleTextAttribute
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc
check_func_headers glob.h glob
-check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv
+check_func_headers "X11/Xlib.h X11/extensions/Xvlib.h" XvGetPortAttribute -lXv -lX11 -lXext
check_header cl/cl.h
check_header direct.h