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)