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:
parent
fd9ac48dc8
commit
a0e6e471db
2
configure
vendored
2
configure
vendored
@ -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)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user