1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

List enabled code in configure output

Originally committed as revision 10921 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Ramiro Polla 2007-11-04 02:20:12 +00:00
parent bf0c4afab2
commit 8138b9db26

12
configure vendored
View File

@ -1826,6 +1826,18 @@ enabled gpl &&
echo "License: GPL" ||
echo "License: LGPL"
for type in decoder encoder parser demuxer muxer protocol bsf; do
echo "Enabled ${type}s:"
ucname="\$`toupper $type`_LIST"
list="`eval echo $ucname`"
partlist=""
for part in $list; do
enabled $part && partlist="$partlist $part"
done
partlist=`echo $partlist | sed s/_$type//g | tr ' ' '\n' | sort`
echo $partlist
done
echo "Creating config.mak and config.h..."
echo "# Automatically generated by configure - do not modify!" > config.mak