[FFmpeg-devel] [FFmpeg-cvslog] configure: Reenable colorized warnings and check for tput's existence

James Darnley james.darnley at gmail.com
Mon Sep 21 03:29:19 CEST 2015


On 2015-09-08 05:42, Timothy Gu wrote:
> ffmpeg | branch: master | Timothy Gu <timothygu99 at gmail.com> | Mon Sep  7 19:11:16 2015 -0700| [617d53f4c7e43b5df6f99b363b550ff7b0007c6e] | committer: Timothy Gu
> 
> configure: Reenable colorized warnings and check for tput's existence
> 
> Untested.
> 
>> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=617d53f4c7e43b5df6f99b363b550ff7b0007c6e
> ---
> 
>  configure |   10 +++++++++-
>  1 file changed, 9 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index 8c1309f..cd0c22a 100755
> --- a/configure
> +++ b/configure
> @@ -416,6 +416,14 @@ EOF
>  }
>  
>  quotes='""'
> +if test -t 1 && which tput >/dev/null; then
                   ^^^^^^^^^^

I think you need to silence errors here otherwise a shell can print to
stderr, as mine does:

> which: no tput in (... long path list removed ...)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 603 bytes
Desc: OpenPGP digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20150921/d9de096e/attachment.sig>


More information about the ffmpeg-devel mailing list