[FFmpeg-devel] [PATCH] List enabled code in configure output
Rich Felker
dalias
Wed Sep 26 23:04:11 CEST 2007
On Wed, Sep 26, 2007 at 04:39:26PM -0300, Ramiro Polla wrote:
> >>>The ${space:0:$length}
> >>Replaced with a while loop that adds one space at a time.
> >
> >I'm not having anything of the kind. What's this patch good for
> >anyway?
>
> As has already been discussed before in [1], some people would like for
> configure to print out which codecs and formats have been selected. I
> would like to have this feature, and Michael said he likes it too.
>
> I didn't like the fact that it would output one really long unreadable
> line. I also wouldn't like if it was one entry per line, since that
> would make configure's output really, really long. I suggest something
> in between: using show_list, print the output tabulated with 8 spaces.
> But I didn't find a way to make the code portable and elegant at the
> same time.
>
> show_list_1.diff makes show_list much faster, so I think it should be
> applied independent of the rest of this discussion.
>
> These are 3 possibilities of implementing listing the selected output:
> show_list_2.diff prints one entry per line (long output).
> show_list_3.diff prints them sequentially (long lines).
> And another option is tabulating the output. Would you be against this
> kind of output, even if we managed to get the source code to be portable
> and clean?
This kind of thing can probably be done easily with sed...
Rich
More information about the ffmpeg-devel
mailing list