[FFmpeg-cvslog] configure: silence error if tput not found
Ganesh Ajjanagadde
git at videolan.org
Mon Sep 21 12:49:54 CEST 2015
ffmpeg | branch: master | Ganesh Ajjanagadde <gajjanagadde at gmail.com> | Sun Sep 20 21:50:17 2015 -0400| [a0e6e471db25498a09586cfb0861e7753b460ebe] | committer: Michael Niedermayer
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 at gmail.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a0e6e471db25498a09586cfb0861e7753b460ebe
---
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)
More information about the ffmpeg-cvslog
mailing list