[FFmpeg-devel] [PATCH] configure: colorize warning messages

Ganesh Ajjanagadde gajjanagadde at gmail.com
Fri Aug 28 01:35:42 CEST 2015


sent from my phone
On Aug 27, 2015 7:26 PM, "Timothy Gu" <timothygu99 at gmail.com> wrote:
>
> On Thu, Aug 27, 2015 at 06:17:32PM -0400, Ganesh Ajjanagadde wrote:
> > This patch introduces color warning messages (yellow).
> > Tested with zsh, bash, and sh (bash under --posix).
> >
> > Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
> > ---
> >  configure | 4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
>
> I'm concerned that this would trash the configure output when it is
> viewed with something not supporting ANSI support codes. For example,
> when one pipes the output to a file.

I can do tests for this, to make sure it writes to a tty, tty supports
colors, etc. Forgot to mention this was a minimal first cut; want to see
whether there are objections to the idea as a whole.

>
> Timothy
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


More information about the ffmpeg-devel mailing list