diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-08 05:58:47 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-09-08 06:09:58 +0300 |
commit | 12e6b64cd47c2e2c07f1bbeff83b1297717658c4 (patch) | |
tree | a57cc499f6ceca133da9424869f9e606cbe5c3cb | |
parent | a78656a18784e0ef42350b7585f5d9ecf505eb9b (diff) |
Revert "configure: colorize warning messages"
This broke win32, MSYS
This reverts commit 3e830b6dc844219673b6a036d8a3bd326ac4f9e2.
-rwxr-xr-x | configure | 10 |
1 files changed, 1 insertions, 9 deletions
@@ -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 |