Commit a0e6e471 authored by Ganesh Ajjanagadde's avatar Ganesh Ajjanagadde Committed by Michael Niedermayer

configure: silence error if tput not found

If tput is not found for colorizing, error message should be squashed.
Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent fd9ac48d
...@@ -418,7 +418,7 @@ EOF ...@@ -418,7 +418,7 @@ EOF
} }
quotes='""' quotes='""'
if test -t 1 && which tput >/dev/null; then if test -t 1 && which tput >/dev/null 2>&1; then
ncolors=$(tput colors) ncolors=$(tput colors)
if test -n "$ncolors" && test $ncolors -ge 8; then if test -n "$ncolors" && test $ncolors -ge 8; then
bold_color=$(tput bold) bold_color=$(tput bold)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment