summaryrefslogtreecommitdiff
path: root/aclocal.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1996-08-12 23:37:13 +0000
committerTom Tromey <tromey@redhat.com>1996-08-12 23:37:13 +0000
commit503a558c4664da5cf11ba310664b940c3e502d58 (patch)
tree6ca8dc1e52cdc30c5f5d2504d659baa35c4e2acb /aclocal.in
parentd59301cf74628ae1084042559c5f5b3096967448 (diff)
downloadautomake-503a558c4664da5cf11ba310664b940c3e502d58.tar.gz
New test, m4 macros
Diffstat (limited to 'aclocal.in')
-rw-r--r--aclocal.in7
1 files changed, 4 insertions, 3 deletions
diff --git a/aclocal.in b/aclocal.in
index 9a47c1f6d..212ab35e1 100644
--- a/aclocal.in
+++ b/aclocal.in
@@ -165,7 +165,7 @@ sub scan_configure
if (/$obsolete_rx/o)
{
chop;
- warn "configure.in: $.: obsolete macro \`$_'\n";
+ warn "aclocal: configure.in: $.: obsolete macro \`$_'\n";
$exit_status = 1;
next;
}
@@ -202,7 +202,8 @@ sub add_file
{
# Maybe the file is an Autoconf built-in. Check the only
# way we know how. Suggestions on how to make this better
- # are welcome.
+ # are welcome. FIXME should give file and line number of
+ # enclosing file.
return if $file =~ /^AC_[A-Z_]+$/;
die "aclocal: file \`$file' not found\n";
}
@@ -222,7 +223,7 @@ sub add_file
{
if ($1 ne $file && $file_seen{$1})
{
- warn "$fullfile: $.: duplicated macro \`$1'\n";
+ warn "aclocal: $fullfile: $.: duplicated macro \`$1'\n";
$exit_status = 1;
}
$macro_seen{$1} = 1;