diff --git a/configure b/configure index 8c8de8cb52..8590064df3 100755 --- a/configure +++ b/configure @@ -265,6 +265,11 @@ echolog(){ echo "$@" } +warn(){ + log "WARNING: $*" + WARNINGS="${WARNINGS}WARNING: $*\n" +} + die(){ echolog "$@" cat <> $TMPH cp_if_changed $TMPH libavutil/avconfig.h +test -n "$WARNINGS" && printf "\n$WARNINGS" + # build pkg-config files pkgconfig_generate(){