configure: silence error if tput not found

If tput is not found for colorizing, error message should be squashed.

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Ganesh Ajjanagadde 2015-09-20 21:50:17 -04:00 committed by Michael Niedermayer
parent fd9ac48dc8
commit a0e6e471db
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -418,7 +418,7 @@ EOF
}
quotes='""'
if test -t 1 && which tput >/dev/null; then
if test -t 1 && which tput >/dev/null 2>&1; then
ncolors=$(tput colors)
if test -n "$ncolors" && test $ncolors -ge 8; then
bold_color=$(tput bold)