summaryrefslogtreecommitdiff
path: root/aclocal.in
diff options
context:
space:
mode:
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-04-11 21:30:34 +0200
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>2010-04-11 21:30:34 +0200
commitf7587e184a52785913eda87fbb6ff6f0bc2aeb29 (patch)
tree9563b309cdab2fbab077eadcdc9bfe7a2db81ef3 /aclocal.in
parentbda8d57b6af0bf3dfe2524514304856a16766b7d (diff)
downloadautomake-f7587e184a52785913eda87fbb6ff6f0bc2aeb29.tar.gz
Ensure we don't print 'warning:' or 'error:' twice.
* Makefile.am (sc_ensure_testsuite_has_run): New helper rule. (sc_tests_logs_duplicate_prefixes): New rule, to check for wrong-looking warning and error messages in the test suite logs. * aclocal.in (scan_configure_dep, scan_file): Remove duplicate `warning: ' prefix. * tests/vars3.test: Rename variable to avoid false positive. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Diffstat (limited to 'aclocal.in')
-rw-r--r--aclocal.in6
1 files changed, 3 insertions, 3 deletions
diff --git a/aclocal.in b/aclocal.in
index dc8476294..9622711a7 100644
--- a/aclocal.in
+++ b/aclocal.in
@@ -435,7 +435,7 @@ sub scan_configure_dep ($)
# Make this just a warning, because we do not know whether
# the macro is actually used (it could be called conditionally).
msg ('unsupported', "$file:$line",
- "warning: macro `$2' not found in library");
+ "macro `$2' not found in library");
}
}
@@ -507,7 +507,7 @@ sub scan_file ($$$)
if ($number !~ /$serial_number_rx/go)
{
msg ('syntax', "$file:$.",
- "warning: ill-formed serial number `$number', "
+ "ill-formed serial number `$number', "
. "expecting a version string with only digits and dots");
}
elsif ($defun_seen)
@@ -559,7 +559,7 @@ sub scan_file ($$$)
$defun_seen = 1;
if (! defined $1)
{
- msg ('syntax', "$file:$.", "warning: underquoted definition of $2"
+ msg ('syntax', "$file:$.", "underquoted definition of $2"
. "\n run info '(automake)Extending aclocal'\n"
. " or see http://sources.redhat.com/automake/"
. "automake.html#Extending-aclocal")