Do not check_lib for -lva if vaapi is disabled, having -lva in extralibs
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 1 Jun 2010 20:26:10 +0000 (20:26 +0000)
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>
Tue, 1 Jun 2010 20:26:10 +0000 (20:26 +0000)
if vaapi is disabled is at best pointless.

Originally committed as revision 23417 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index c24a2d5..4f65143 100755 (executable)
--- a/configure
+++ b/configure
@@ -2590,7 +2590,7 @@ for thread in $THREADS_LIST; do
 done
 
 check_lib math.h sin -lm
-check_lib va/va.h vaInitialize -lva
+disabled vaapi || check_lib va/va.h vaInitialize -lva
 
 check_mathfunc exp2
 check_mathfunc exp2f