Browse code

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

Jai Menon authored on 2010/01/16 03:50:53
Showing 1 changed files
... ...
@@ -2532,7 +2532,7 @@ check_func XOpenDisplay -lX11           &&
2532 2532
 check_func XShmCreateImage -lX11 -lXext &&
2533 2533
 check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
2534 2534
 
2535
-if enabled vdpau_vdpau_h; then
2535
+if ! disabled vdpau && enabled vdpau_vdpau_h; then
2536 2536
 check_cpp_condition \
2537 2537
     vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||
2538 2538
     { echolog "Please upgrade to libvdpau >= 0.2 if you would like vdpau support." &&