Make the behaviour consistent with the other external deps.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
... | ... |
@@ -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 |