summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJai Menon <jmenon86@gmail.com>2010-01-15 18:50:53 +0000
committerJai Menon <jmenon86@gmail.com>2010-01-15 18:50:53 +0000
commit598ef02b158d6d935450f07d3e9675e546912f9e (patch)
tree49581ce7fa39ad7b43af42f59bfcdb3bbacc12fd /configure
parentd356a53f442f3df63370a4cbe7fbdb6aa29666ae (diff)
Do not print VDPAU upgrade notice when configure is invoked
with `--disable-vdpau`. Originally committed as revision 21225 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 6321bb9cdd..691155af0a 100755
--- a/configure
+++ b/configure
@@ -2532,7 +2532,7 @@ check_func XOpenDisplay -lX11 &&
check_func XShmCreateImage -lX11 -lXext &&
check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
-if enabled vdpau_vdpau_h; then
+if ! disabled vdpau && enabled vdpau_vdpau_h; then
check_cpp_condition \
vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
{ echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." &&