diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-21 15:34:42 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-02-23 23:13:48 +0400 |
commit | 2aac411fd4c74e22b978525206f3b8257de1842b (patch) | |
tree | acd337b928ec1b538aaeb9ded218e1b3b5ac3815 /configure | |
parent | 9840130edf3a969ec06dd0faa61dcf8d90c5f67a (diff) |
configure: Simplify VDPAU header check
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3588,10 +3588,9 @@ require X11 X11/Xlib.h XOpenDisplay -lX11 && require Xext X11/extensions/XShm.h XShmCreateImage -lXext && require Xfixes X11/extensions/Xfixes.h XFixesGetCursorImage -lXfixes -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" |