summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 5 insertions, 2 deletions
diff --git a/configure b/configure
index 82a903d5..d09773de 100755
--- a/configure
+++ b/configure
@@ -7,7 +7,7 @@
# See the main source file 'xineliboutput.c' for copyright information and
# how to reach the author.
#
-# * $Id: configure,v 1.12 2008-11-18 00:04:06 phintuka Exp $
+# * $Id: configure,v 1.13 2009-01-08 11:58:33 rofafor Exp $
#
PKG_CONFIG="pkg-config"
@@ -230,6 +230,7 @@ FEATURES="
xinerama
xrandr
xrender
+ vdpau
"
# set defaults
@@ -261,6 +262,7 @@ show_help(){
echo " --disable-xinerama disable Xinerama support [no]"
echo " --disable-xrandr disable Xrandr support (video mode switching) [no]"
echo " --disable-xrender disable Xrender support (HUD OSD) [no]"
+ echo " --disable-vdpau disable VDPAU support (X11) [no]"
echo
echo " --debug debug configure script"
echo " --disable-pkgconfig do not use pkg-config"
@@ -314,7 +316,7 @@ done
check_deps(){
disabled libxine && disable x11 fb libavutil libjpeg
- disabled x11 && disable xshm xrender xrandr xdpms xinerama
+ disabled x11 && disable xshm xrender xrandr xdpms xinerama vdpau
disabled vdr && disable libextractor
}
@@ -353,6 +355,7 @@ if enabled libxine; then
test_library X11 xrandr "X11/extensions/Xrandr.h" "-lXrandr" "XRRGetScreenInfo(0,0)"
test_library X11 xdpms "X11/extensions/dpms.h" "-lXext" "DPMSDisable(0)"
test_library X11 xinerama "X11/extensions/Xinerama.h" "-lXinerama" "XineramaQueryScreens(0,0)"
+ test_library X11 vdpau "vdpau/vdpau_x11.h" "-lvdpau" "vdp_device_create_x11(0,0,0,0)"
fi
fi