[Libreoffice-commits] .: configure.ac .gitignore
Libreoffice Gerrit user
logerrit at kemper.freedesktop.org
Thu Dec 6 06:00:29 PST 2012
.gitignore | 1 -
configure.ac | 6 ++++--
2 files changed, 4 insertions(+), 3 deletions(-)
New commits:
commit de2c6007fc584150210eb29d15044fca0d8321f7
Author: Stephan Bergmann <sbergman at redhat.com>
Date: Thu Dec 6 14:59:42 2012 +0100
Do not accumulate warnings across configure runs
...and remove temporary file again.
Change-Id: I199b054d8e7b87d1c9268abbe628393d480e42f7
diff --git a/.gitignore b/.gitignore
index ddb84f7..4431992 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 eb2389d..1e80d4f 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:
More information about the Libreoffice-commits
mailing list