[SCM] libav/experimental: List enabled code in configure output

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:09:01 UTC 2013


The following commit has been merged in the experimental branch:
commit 8138b9db26cff1d57b494213c0add7d7b9c0fce1
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Sun Nov 4 02:20:12 2007 +0000

    List enabled code in configure output
    
    Originally committed as revision 10921 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index f86e127..524a818 100755
--- 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list