[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: which shell is running configure?
From: |
Eric Blake |
Subject: |
Re: which shell is running configure? |
Date: |
Wed, 28 Jun 2006 06:10:35 -0600 |
User-agent: |
Thunderbird 1.5.0.4 (Windows/20060516) |
-----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 address@hidden@ to
Makefile.in help your situation?
The autoconf manual discusses the use of CONFIG_SHELL.
- --
Life is short - so eat dessert first!
Eric Blake address@hidden
-----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-----