]> git.sesse.net Git - ffmpeg/commitdiff
List enabled code in configure output
authorRamiro Polla <ramiro.polla@gmail.com>
Sun, 4 Nov 2007 02:20:12 +0000 (02:20 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Sun, 4 Nov 2007 02:20:12 +0000 (02:20 +0000)
Originally committed as revision 10921 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index f86e127315e3c1758cc010b3edcfb75bb34daf4f..524a818ba969bd8a5dd7b452fd30f468d9b591a1 100755 (executable)
--- a/configure
+++ b/configure
@@ -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