[FFmpeg-devel] [PATCH] configure: silence error if tput not found

Ganesh Ajjanagadde gajjanagadde at gmail.com
Mon Sep 21 03:50:17 CEST 2015


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

Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
---
 configure | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index d2a25bb..da9f42e 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)
-- 
2.5.3



More information about the ffmpeg-devel mailing list