summaryrefslogtreecommitdiff
path: root/aclocal.in
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>1998-03-20 22:16:24 +0000
committerTom Tromey <tromey@redhat.com>1998-03-20 22:16:24 +0000
commit55131c4598000be452f7832232d7b7a3a9992e77 (patch)
treed485fb75835775476a0c119990a1b0da6128fe3b /aclocal.in
parent77518b4de47ee3b33658ee2d89b2974cfb94e135 (diff)
downloadautomake-55131c4598000be452f7832232d7b7a3a9992e77.tar.gz
fixed aclocal bug
Diffstat (limited to 'aclocal.in')
-rw-r--r--aclocal.in7
1 files changed, 6 insertions, 1 deletions
diff --git a/aclocal.in b/aclocal.in
index 80c818a32..aeda622fd 100644
--- a/aclocal.in
+++ b/aclocal.in
@@ -331,7 +331,12 @@ sub add_file
}
# This function constructed dynamically.
- &search;
+ if (! &search && /(^|\s+)(AM_[A-Z_]+)/)
+ {
+ # Macro not found, but AM_ prefix found.
+ warn "aclocal: configure.in: $.: macro \`$2' not found in library\n";
+ $exit_status = 1;
+ }
}
local ($macro);