Browse Source

vaapi: move configure check down.

Gwenole Beauchesne 14 years ago
parent
commit
f9c215e260
1 changed files with 2 additions and 1 deletions
  1. 2 1
      configure

+ 2 - 1
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" ||