summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
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 <<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(){