[FFmpeg-cvslog] r23760 - trunk/configure
mru
subversion
Thu Jun 24 22:49:32 CEST 2010
Author: mru
Date: Thu Jun 24 22:49:32 2010
New Revision: 23760
Log:
configure: add 'warn' function
The 'warn' function records a warning message for display after other
informational messages.
Modified:
trunk/configure
Modified: trunk/configure
==============================================================================
--- trunk/configure Thu Jun 24 20:17:12 2010 (r23759)
+++ trunk/configure Thu Jun 24 22:49:32 2010 (r23760)
@@ -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 */" >>
cp_if_changed $TMPH libavutil/avconfig.h
+test -n "$WARNINGS" && printf "\n$WARNINGS"
+
# build pkg-config files
pkgconfig_generate(){
More information about the ffmpeg-cvslog
mailing list