summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore1
-rw-r--r--configure.ac6
2 files changed, 4 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index ddb84f78ec36..44319927c641 100644
--- a/.gitignore
+++ b/.gitignore
@@ -74,7 +74,6 @@
# misc
/file-lists
/cross-build-toolset.built
-/warn
/build.log
/build_error.log
/install
diff --git a/configure.ac b/configure.ac
index eb2389d07f5d..1e80d4fdd40a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -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: