From a0e6e471db25498a09586cfb0861e7753b460ebe Mon Sep 17 00:00:00 2001 From: Ganesh Ajjanagadde Date: Sun, 20 Sep 2015 21:50:17 -0400 Subject: [PATCH] configure: silence error if tput not found If tput is not found for colorizing, error message should be squashed. Signed-off-by: Ganesh Ajjanagadde Signed-off-by: Michael Niedermayer --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)