configure: Simplify VDPAU header check

Conflicts:

	configure
This commit is contained in:
Diego Biurrun 2013-02-21 12:34:42 +01:00 committed by Michael Niedermayer
parent 8cf9253aef
commit fdd392ed27
1 changed files with 2 additions and 3 deletions

5
configure vendored
View File

@ -4031,10 +4031,9 @@ if ! disabled vaapi; then
} || disable vaapi
fi
if ! disabled vdpau && enabled vdpau_vdpau_h; then
enabled vdpau &&
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." && disable vdpau; }
fi
disable vdpau
enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"
enabled coverage && add_cflags "-fprofile-arcs -ftest-coverage" && add_ldflags "-fprofile-arcs -ftest-coverage"