2002-01-06 Raja R Harinath <harinath@cs.umn.edu>
+ * automake.in (handle_languages): Emit an automake
+ internal variable 'am__depfiles_maybe'.
+ * lib/am/configure.am (%MAKEFILE%): Use am__depfiles_maybe.
+
* lib/am/configure.am (%MAKEFILE%): Pass `depfiles' to
config.status.
{
# Set location of depcomp.
&define_variable ('depcomp', "\$(SHELL) $config_aux_dir/depcomp");
+ &define_variable ('am__depfiles_maybe', 'depfiles');
require_conf_file ("$am_file.am", FOREIGN, 'depcomp');
else
{
&define_variable ('depcomp', '');
+ &define_variable ('am__depfiles_maybe', '');
}
my %done;
## This rule remakes the Makefile.
%MAKEFILE%: %MAINTAINER-MODE% %MAKEFILE-IN% %MAKEFILE-DEPS% $(top_builddir)/config.status
-## FIXME: `depfiles' lets us re-run the rule to create the .P files.
-## Ideally we wouldn't have to do this by hand.
- cd $(top_builddir) && $(SHELL) ./config.status %CONFIG-MAKEFILE% depfiles
+## FIXME: $(am__depfiles_maybe) lets us re-run the rule to create the
+## .P files. Ideally we wouldn't have to do this by hand.
+ cd $(top_builddir) && $(SHELL) ./config.status %CONFIG-MAKEFILE% $(am__depfiles_maybe)