[FFmpeg-devel] [Ffmpeg-devel] [RFC PATCH] List enabled code in configure output
Diego Biurrun
diego
Wed May 2 11:21:51 CEST 2007
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.
Diego
More information about the ffmpeg-devel
mailing list