1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

configure: add 'warn' function

The 'warn' function records a warning message for display after other
informational messages.

Originally committed as revision 23760 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Måns Rullgård 2010-06-24 20:49:32 +00:00
parent 5113b3bd5c
commit 7bfc8ae69f

7
configure vendored
View File

@ -265,6 +265,11 @@ echolog(){
echo "$@" echo "$@"
} }
warn(){
log "WARNING: $*"
WARNINGS="${WARNINGS}WARNING: $*\n"
}
die(){ die(){
echolog "$@" echolog "$@"
cat <<EOF cat <<EOF
@ -3069,6 +3074,8 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH
cp_if_changed $TMPH libavutil/avconfig.h cp_if_changed $TMPH libavutil/avconfig.h
test -n "$WARNINGS" && printf "\n$WARNINGS"
# build pkg-config files # build pkg-config files
pkgconfig_generate(){ pkgconfig_generate(){