diff options
author | Måns Rullgård <mans@mansr.com> | 2010-06-24 20:49:32 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2010-06-24 20:49:32 +0000 |
commit | 7bfc8ae69f1a9ff58a238c0839813a54a563d4f1 (patch) | |
tree | ec743e7f08b7d8ece71e7d70ccb551f2da1d614a /configure | |
parent | 5113b3bd5cbd2c12fb1d692c74b457044cf0540f (diff) | |
download | ffmpeg-7bfc8ae69f1a9ff58a238c0839813a54a563d4f1.tar.gz |
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
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -265,6 +265,11 @@ echolog(){ echo "$@" } +warn(){ + log "WARNING: $*" + WARNINGS="${WARNINGS}WARNING: $*\n" +} + die(){ echolog "$@" cat <<EOF @@ -3069,6 +3074,8 @@ echo "#endif /* AVUTIL_AVCONFIG_H */" >> $TMPH cp_if_changed $TMPH libavutil/avconfig.h +test -n "$WARNINGS" && printf "\n$WARNINGS" + # build pkg-config files pkgconfig_generate(){ |