When config.status is invoked to regenerate a Makefile, I think it
might be possible to give an empty CONFIG_LINKS and CONFIG_COMMANDS as
well as the current empty CONFIG_HEADERS, to speed up regeneration
when there's a bunch of links.
* automake.in (handle_configure): Call config.status with empty
CONFIG_LINKS and CONFIG_COMMANDS when regenerating a file.
I guess the same effect would be obtained from something like the
following, unless this is only a new autoconf feature.
cd $(top_srcdir) && ./config.status $(subdir)/Makefile
--- automake.in.old Fri Feb 2 06:29:06 2001
+++ automake.in Fri Feb 2 06:32:46 2001
@@ -3314,7 +3314,7 @@
. "\t && CONFIG_FILES="
. (($relative_dir eq '.') ? '$@' : '$(subdir)/$@')
. $colon_infile
- . ' CONFIG_HEADERS= $(SHELL) ./config.status'
+ . ' CONFIG_HEADERS= CONFIG_LINKS= CONFIG_COMMANDS= $(SHELL) ./config.status'
. "\n\n");
if ($relative_dir ne '.')
@@ -3566,7 +3566,7 @@
. '$@' . ($need_rewritten
? (':' . join (':', @inputs))
: '')
- . ' CONFIG_HEADERS= $(SHELL) ./config.status'
+ . ' CONFIG_HEADERS= CONFIG_LINKS= CONFIG_COMMANDS= $(SHELL) ./config.status'
. "\n");
&push_dist_common (@inputs);
push (@actual_other_files, $local);