diff --git a/configure b/configure index cda0381eeeeb5499fb783aa2c990cfa146646769..8c1309f16bd6a84d06768c635fe5a8007f218ac3 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