On 4/18/06, Mike Frysinger <[EMAIL PROTECTED]> wrote:
> with the new handling of SHELL, gcc fails to build under non posix compatible
> shells (like tcsh) or if the env SHELL is set to a non-existant shell (think
> zsh on the host system and chrooting into a local filesystem and using
> bash ... bash by design doesnt reset the SHELL=/bin/zsh value)
...
> so the question is, should gcc be making sure that the shell scripts that use
> SHELL pull the value from configure ?  or is make broken ?

Since the change is described in the GNU make NEWS file as being for
POSIX compatibility, it would seem that a build system that assumes
that 'make' exports its SHELL variable to the environment of invoked
processes is broken by the POSIX rules.  Changing the scripts to have
their SHELL value set by configure would seem to be the most robust
solution.

Philip Guenther


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to