From f9c215e260d62c1213ea4f241b01ba4c4cf1c7b7 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Wed, 30 Mar 2011 09:19:50 +0200 Subject: [PATCH] vaapi: move configure check down. --- configure | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index f6926df0c6..df1b485a1f 100755 --- a/configure +++ b/configure @@ -2846,7 +2846,6 @@ done check_lib math.h sin -lm disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd -disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi check_mathfunc exp2 check_mathfunc exp2f @@ -2946,6 +2945,8 @@ check_func XOpenDisplay -lX11 && check_func XShmCreateImage -lX11 -lXext && check_func XFixesGetCursorImage -lX11 -lXext -lXfixes +disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi + if ! disabled vdpau && enabled vdpau_vdpau_h; then check_cpp_condition \ vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||