summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGanesh Ajjanagadde <gajjanagadde@gmail.com>2015-09-20 21:50:17 -0400
committerMichael Niedermayer <michael@niedermayer.cc>2015-09-21 10:20:45 +0200
commita0e6e471db25498a09586cfb0861e7753b460ebe (patch)
treeae88967d06b93569dbef8beeccd82a636e284e3d
parentfd9ac48dc8aebcbd601af34336234d5102b36e21 (diff)
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>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d2a25bb7a1..da9f42ebcf 100755
--- a/configure
+++ b/configure
@@ -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)