subdirectories. Makefile.in depends on that variable.
+2003-03-14 Jim Meyering <jim@meyering.net>
+
+ * automake.in (scan_aclocal_m4): Define ACLOCAL_M4 even in
+ subdirectories. Makefile.in depends on that variable.
+
2003-03-13 Alexandre Duret-Lutz <adl@gnu.org>
* m4/init.m4: Remove a leftover comment from the pre-1.7 era.
{
my $regen_aclocal = 0;
+ if (-f 'aclocal.m4')
+ {
+ # When using aclocal.m4, define this variable even in subdirectories,
+ # because every Makefile.in depends on $(ACLOCAL_M4).
+ &define_variable ("ACLOCAL_M4", '$(top_srcdir)/aclocal.m4', INTERNAL);
+ }
+
return (0, ())
unless $relative_dir eq '.';
if (-f 'aclocal.m4')
{
- &define_variable ("ACLOCAL_M4", '$(top_srcdir)/aclocal.m4', INTERNAL);
&push_dist_common ('aclocal.m4');
my $aclocal = new Automake::XFile "< aclocal.m4";