Kaydet (Commit) de2c6007 authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Do not accumulate warnings across configure runs

...and remove temporary file again.

Change-Id: I199b054d8e7b87d1c9268abbe628393d480e42f7
üst 43137f06
......@@ -74,7 +74,6 @@
# misc
/file-lists
/cross-build-toolset.built
/warn
/build.log
/build_error.log
/install
......
......@@ -49,11 +49,12 @@ PathFormat()
fi
}
rm -f warn
have_WARNINGS="no"
add_warning()
{
if test "$have_WARNINGS" = "no"; then
echo "*************************************" >> warn
echo "*************************************" > warn
have_WARNINGS="yes"
if which tput >/dev/null 2>/dev/null && test `tput colors` -ge 8; then
dnl <esc> as actual byte (U+1b), [ escaped using quadrigraph @<:@
......@@ -12492,7 +12493,8 @@ _EOF
fi
if test -f warn; then
cat warn
cat warn
rm warn
fi
dnl vim:set shiftwidth=4 softtabstop=4 expandtab:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment