[FFmpeg-cvslog] Revert "configure: colorize warning messages"

Michael Niedermayer git at videolan.org
Tue Sep 8 05:11:31 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Sep  8 04:58:47 2015 +0200| [12e6b64cd47c2e2c07f1bbeff83b1297717658c4] | committer: Michael Niedermayer

Revert "configure: colorize warning messages"

This broke win32, MSYS

This reverts commit 3e830b6dc844219673b6a036d8a3bd326ac4f9e2.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=12e6b64cd47c2e2c07f1bbeff83b1297717658c4
---

 configure |   10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

diff --git a/configure b/configure
index cda0381..8c1309f 100755
--- a/configure
+++ b/configure
@@ -416,14 +416,6 @@ EOF
 }
 
 quotes='""'
-if test -t 1; then
-    ncolors=$(tput colors)
-    if test -n "$ncolors" && test $ncolors -ge 8; then
-        bold_color=$(tput bold)
-        warn_color=$(tput setaf 3)
-        reset_color=$(tput sgr0)
-    fi
-fi
 
 log(){
     echo "$@" >> $logfile
@@ -6209,7 +6201,7 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
 cp_if_changed $TMPH libavutil/avconfig.h
 
 if test -n "$WARNINGS"; then
-    printf "\n%s%s$WARNINGS%s" "$warn_color" "$bold_color" "$reset_color"
+    printf "\n$WARNINGS"
     enabled fatal_warnings && exit 1
 fi
 



More information about the ffmpeg-cvslog mailing list