aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-07-19 17:17:43 +0000
committerMåns Rullgård <mans@mansr.com>2010-07-19 17:17:43 +0000
commit48c281629ab0cae5afc94d2890bd8373caf975da (patch)
tree7881293f4b40178312afbe80a35bf893790f9a42 /configure
parent2e204aeb1bd5c1eaa547cceec6f3eee6119c174d (diff)
downloadffmpeg-48c281629ab0cae5afc94d2890bd8373caf975da.tar.gz
Generate list of lavfi tests in configure
Originally committed as revision 24329 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 0513751136..58cc566c67 100755
--- a/configure
+++ b/configure
@@ -1616,6 +1616,7 @@ find_tests(){
ACODEC_TESTS=$(find_tests acodec)
VCODEC_TESTS=$(find_tests vsynth1)
LAVF_TESTS=$(find_tests lavf)
+LAVFI_TESTS=$(find_tests lavfi)
pcm_test_deps=$(map 'echo ${v%_*}_decoder $v' $(filter pcm_* $ENCODER_LIST))
@@ -1625,7 +1626,7 @@ for n in $COMPONENT_LIST; do
eval ${n}_if_any="\$$v"
done
-enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS
+enable $ARCH_EXT_LIST $ACODEC_TESTS $VCODEC_TESTS $LAVF_TESTS $LAVFI_TESTS
die_unknown(){
echo "Unknown option \"$1\"."
@@ -2853,6 +2854,7 @@ check_deps $CONFIG_LIST \
$ACODEC_TESTS \
$VCODEC_TESTS \
$LAVF_TESTS \
+ $LAVFI_TESTS \
enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
@@ -3127,6 +3129,7 @@ cat >>config.mak <<EOF
ACODEC_TESTS=$(print_enabled -n _test $ACODEC_TESTS)
VCODEC_TESTS=$(print_enabled -n _test $VCODEC_TESTS)
LAVF_TESTS=$(print_enabled -n _test $LAVF_TESTS)
+LAVFI_TESTS=$(print_enabled -n _test $LAVFI_TESTS)
EOF
echo "#endif /* FFMPEG_CONFIG_H */" >> $TMPH