[FFmpeg-devel] [Ffmpeg-devel] [RFC PATCH] List enabled code in configure output

Aurelien Jacobs aurel
Thu May 3 00:55:41 CEST 2007


On Wed, 2 May 2007 11:21:51 +0200
Diego Biurrun <diego at biurrun.de> wrote:

> On Thu, Apr 26, 2007 at 10:07:07PM +0200, Aurelien Jacobs wrote:
> > On Thu, 26 Apr 2007 20:59:56 +0200
> > Ivo <ivop at euronet.nl> wrote:
> > 
> > > On Thursday 26 April 2007 17:40, Alex Beregszaszi wrote:
> > > > Hi,
> > > >
> > > > > It takes some while on linux, and I assume it will take ages on Windows
> > > > > (slow proccess spawning).
> > > > > What about ./configure
> > > > > --list-{encoders,decoders,muxers,demuxers,parsers,protocol,all}? or
> > > > > ./configure --verbose?
> > > >
> > > > I hope the shell script guys here will do the work :)
> > > 
> > > The attached version is faster as it spawns sed only once per type.
> > 
> > Slightly simplified version (nothing fundamental).
> > 
> > --- configure	(revision 8829)
> > +++ configure	(working copy)
> > @@ -1862,6 +1862,16 @@
> >  
> > +for type in decoder encoder parser demuxer muxer protocol; do
> > +    echo -n "Enabled ${type}s:"
> > +    ucname="$`toupper $type`_LIST"
> > +    partlist=""
> > +    for part in `eval echo $ucname`; do
> > +        enabled $part && partlist="$partlist $part"
> > +    done
> > +    echo -e "$partlist\n" | sed -e "s/_$type//g"
> > +done
> 
> Look at configure line 2014, it should be possibly to hook this up in
> that loop which runs anyway.

Not sure this is so much simpler, but here is what it looks like.

Aurel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure-enabled.diff
Type: text/x-diff
Size: 992 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070503/55148fbe/attachment.diff>



More information about the ffmpeg-devel mailing list