Hi, I proposed to the following change to a autoconf/tests/Makefile.am[1]:
atconfig: $(top_builddir)/config.status - cd $(top_builddir) && ./config.status $(subdir)/$@ + cd $(top_builddir) && $(SHELL) ./config.status $(subdir)/$@ On Thu, Feb 03, 2005 at 12:59:28PM -0800, Paul Eggert wrote: > Shouldn't we fix Automake to match Autoconf, and not the reverse? > The Autoconf manual always says to run ./config.status, without any > shell. The question: Why does Automake add "$(SHELL)" to the command? The config.status contains some m4sh initilization at the beginning, so it should be capable to be run as ./config.status. A note, which is in fact a second question: [1] No, that rule cannot be generated by Automake, as "tests/atconfig" is registered via AC_CONFIG_COMMANDS. Using AC_CONFIG_FILES would mean that people have to add a copy of atconfig.in to their tests subdirectory. But it's quite possible that I'm missing something. Thanks in advance for your help, Stepan