-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 According to Sam Steingold on 6/27/2006 10:17 AM: > I encountered the following problem: > an autoconf test that checks whether `test' supports `-nt' passes, > but when make tries to use "test -nt" in Makefile, it fails. > this appeared to suggest that configure and make were using different > shells, and, indeed, I found some code in configure which appears to > re-run it with bash: ... > > why is this being done? You are correct that configure reruns itself with a better shell, if the default is insufficient for its needs, and CONFIG_SHELL was not set (setting CONFIG_SHELL is useful in part as a torture test of autoconf being able to work in spite of insufficient shells, but also so that you can manually choose a better shell rather than wasting configure's time finding it). Does adding something like SHELL=@CONFIG_SHELL@ to Makefile.in help your situation? The autoconf manual discusses the use of CONFIG_SHELL. - -- Life is short - so eat dessert first! Eric Blake ebb9@xxxxxxx -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEonG784KuGfSFAYARAiPtAJ9m654mfA8vTOiDyAO6ZVCzXbkwbgCdFSkM CdjXessDETXpVmyaRCibbEo= =rcul -----END PGP SIGNATURE----- _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf