Error out if vaapi is not found
authorLuca Barbato <lu_zero@gentoo.org>
Mon, 4 Apr 2011 13:24:19 +0000 (15:24 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 12 Apr 2011 17:17:06 +0000 (19:17 +0200)
Make the behaviour consistent with the other external deps.

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

index c632ce5..32c3544 100755 (executable)
--- a/configure
+++ b/configure
@@ -2840,7 +2840,7 @@ for thread in $THREADS_LIST; do
 done
 
 check_lib math.h sin -lm
-disabled vaapi || check_lib va/va.h vaInitialize -lva
+enabled vaapi && require vaapi va/va.h vaInitialize -lva
 
 check_mathfunc exp2
 check_mathfunc exp2f