You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
Revert "configure: colorize warning messages"
This broke win32, MSYS
This reverts commit 3e830b6dc8
.
This commit is contained in:
10
configure
vendored
10
configure
vendored
@@ -416,14 +416,6 @@ EOF
|
|||||||
}
|
}
|
||||||
|
|
||||||
quotes='""'
|
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(){
|
log(){
|
||||||
echo "$@" >> $logfile
|
echo "$@" >> $logfile
|
||||||
@@ -6209,7 +6201,7 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
|
|||||||
cp_if_changed $TMPH libavutil/avconfig.h
|
cp_if_changed $TMPH libavutil/avconfig.h
|
||||||
|
|
||||||
if test -n "$WARNINGS"; then
|
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
|
enabled fatal_warnings && exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user