Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-13 Thread Matt Oliver
On 9 September 2015 at 06:53, Ganesh Ajjanagadde wrote: > On Tue, Sep 8, 2015 at 4:22 PM, Hendrik Leppkes > wrote: > > On Tue, Sep 8, 2015 at 9:17 PM, Ganesh Ajjanagadde > > wrote: > >> Previous color support relies on existence of tput. > >> Unfortunately, tput is not available on windows. > >

Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Ganesh Ajjanagadde
On Tue, Sep 8, 2015 at 4:22 PM, Hendrik Leppkes wrote: > On Tue, Sep 8, 2015 at 9:17 PM, Ganesh Ajjanagadde > wrote: >> Previous color support relies on existence of tput. >> Unfortunately, tput is not available on windows. >> According to >> https://stackoverflow.com/questions/19710074/tput-colo

Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Hendrik Leppkes
On Tue, Sep 8, 2015 at 9:17 PM, Ganesh Ajjanagadde wrote: > Previous color support relies on existence of tput. > Unfortunately, tput is not available on windows. > According to > https://stackoverflow.com/questions/19710074/tput-color-definitions-for-windows-git-shell, > using ANSI color codes fo

Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Ganesh Ajjanagadde
On Tue, Sep 8, 2015 at 3:34 PM, Timothy Gu wrote: > On Tue, Sep 8, 2015 at 12:18 PM Ganesh Ajjanagadde > wrote: >> >> quotes='""' >> -if test -t 1 && which tput >/dev/null; then >> -ncolors=$(tput colors) >> -if test -n "$ncolors" && test $ncolors -ge 8; then >> -bold_color=$(tpu

Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Timothy Gu
On Tue, Sep 8, 2015 at 12:18 PM Ganesh Ajjanagadde wrote: > quotes='""' > -if test -t 1 && which tput >/dev/null; then > -ncolors=$(tput colors) > -if test -n "$ncolors" && test $ncolors -ge 8; then > -bold_color=$(tput bold) > -warn_color=$(tput setaf 3) > -reset

Re: [FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Ganesh Ajjanagadde
On Tue, Sep 8, 2015 at 3:17 PM, Ganesh Ajjanagadde wrote: > Previous color support relies on existence of tput. > Unfortunately, tput is not available on windows. > According to > https://stackoverflow.com/questions/19710074/tput-color-definitions-for-windows-git-shell, > using ANSI color codes fo

[FFmpeg-devel] [PATCH] configure: colorize warnings on Windows

2015-09-08 Thread Ganesh Ajjanagadde
Previous color support relies on existence of tput. Unfortunately, tput is not available on windows. According to https://stackoverflow.com/questions/19710074/tput-color-definitions-for-windows-git-shell, using ANSI color codes for Windows should be safe. Thus, tput is used whenever possible; and f