acinclude.m4 from the dependencies of aclocal.m4 to avoid
circular and duplicated dependencies. Strip "./" from the
dependencies.
+2000-10-17 Pavel Roskin <proski@gnu.org>
+
+ * automake.in (handle_aclocal_m4): exclude aclocal.m4 and
+ acinclude.m4 from the dependencies of aclocal.m4 to avoid
+ circular and duplicated dependencies. Strip "./" from the
+ dependencies.
+
2000-10-17 Lars J. Aas <larsa@sim.no>
* aclocal.in (write_aclocal): Set up aclocal.m4 header with
$examine_next = 0;
if ($amdir !~ /^\// && -d $amdir)
{
- push (@ac_deps, &my_glob ($amdir . '/*.m4'));
+ foreach $ac_dep (&my_glob ($amdir . '/*.m4'))
+ {
+ $ac_dep =~ s/^\.\/*//;
+ push (@ac_deps, $ac_dep)
+ unless $ac_dep eq "aclocal.m4"
+ || $ac_dep eq "acinclude.m4";
+ }
}
}
elsif ($amdir eq '-I')