Browse code

Error out if vaapi is not found

Make the behaviour consistent with the other external deps.

Signed-off-by: Anton Khirnov <anton@khirnov.net>

Luca Barbato authored on 2011/04/04 22:24:19
Showing 1 changed files
... ...
@@ -2840,7 +2840,7 @@ for thread in $THREADS_LIST; do
2840 2840
 done
2841 2841
 
2842 2842
 check_lib math.h sin -lm
2843
-disabled vaapi || check_lib va/va.h vaInitialize -lva
2843
+enabled vaapi && require vaapi va/va.h vaInitialize -lva
2844 2844
 
2845 2845
 check_mathfunc exp2
2846 2846
 check_mathfunc exp2f