Browse code

vaapi: move configure check down.

Gwenole Beauchesne authored on 2011/03/30 16:19:50
Showing 1 changed files
... ...
@@ -2846,7 +2846,6 @@ done
2846 2846
 
2847 2847
 check_lib math.h sin -lm
2848 2848
 disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
2849
-disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
2850 2849
 
2851 2850
 check_mathfunc exp2
2852 2851
 check_mathfunc exp2f
... ...
@@ -2946,6 +2945,8 @@ check_func XOpenDisplay -lX11           &&
2946 2946
 check_func XShmCreateImage -lX11 -lXext &&
2947 2947
 check_func XFixesGetCursorImage -lX11 -lXext -lXfixes
2948 2948
 
2949
+disabled vaapi || check_lib va/va.h vaInitialize -lva || disable vaapi
2950
+
2949 2951
 if ! disabled vdpau && enabled vdpau_vdpau_h; then
2950 2952
 check_cpp_condition \
2951 2953
     vdpau/vdpau.h "defined VDP_DECODER_PROFILE_MPEG4_PART2_ASP" ||