defined use it as the list of M4 files aclocal.m4 depends on.
assignments changing $? - it's broken in ash-0.2.
* m4/missing.m4 (AM_MISSING_HAS_RUN): Likewise.
+ * automake.in (handle_aclocal_m4): If ACLOCAL_M4_SOURCES is
+ defined use it as the list of M4 files aclocal.m4 depends on.
+
2000-10-06 Alexandre Duret-Lutz <duret_g@epita.fr>
* aclocal.in (add_file): Strip comments while scanning for
($acinclude ? ' acinclude.m4' : '')
);
- # Scan all -I directories for m4 files. These are our
- # dependencies.
- if (&variable_defined ('ACLOCAL_AMFLAGS'))
+ if (&variable_defined ('ACLOCAL_M4_SOURCES'))
{
+ push (@ac_deps, "\$(ACLOCAL_M4_SOURCES)");
+ }
+ elsif (&variable_defined ('ACLOCAL_AMFLAGS'))
+ {
+ # Scan all -I directories for m4 files. These are our
+ # dependencies.
local ($examine_next, $amdir) = 0;
foreach $amdir (&variable_value_as_list ('ACLOCAL_AMFLAGS', ''))
{