+2001-01-13 Steve Robbins <smr@debian.org>
+ Tom Tromey <tromey@redhat.com>
+
+ * aclocal.in (scan_configure): Don't recognize macro assignments
+ or AC_SUBSTs.
+ (add_file): Likewise.
+
2001-01-13 Kevin Ryde <user42@zip.com.au>
* automake.in (handle_ltlibraries): Omit -rpath from
}
# Search for things we know about. The "search" sub is
- # constructed dynamically by scan_m4_files.
- if (! &search && /(^|\s+)(AM_[A-Z_]+)/)
+ # constructed dynamically by scan_m4_files. The last
+ # parenthethical match makes sure we don't match things that
+ # look like macro assignments or AC_SUBSTs.
+ if (! &search && /(^|\s+)(AM_[A-Z_]+)($|[^\]\)=A-Z_])/)
{
# Macro not found, but AM_ prefix found.
warn "aclocal: configure.in: $.: macro \`$2' not found in library\n";
s/\bdnl\b.*$//;
s/\#.*$//;
- # The search function is constructed dynamically by scan_m4_files.
- if (! &search && /(^|\s+)(AM_[A-Z_]+)/)
+ # The search function is constructed dynamically by
+ # scan_m4_files. The last parenthethical match makes sure we
+ # don't match things that look like macro assignments or
+ # AC_SUBSTs.
+ if (! &search && /(^|\s+)(AM_[A-Z_]+)($|[^\]\)=A-Z_])/)
{
# Macro not found, but AM_ prefix found.
warn "aclocal: configure.in: $.: macro \`$2' not found in library\n";