autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Specifying which shell to use


From: Warren Young
Subject: Re: Specifying which shell to use
Date: Thu, 08 Oct 2009 09:38:24 -0600
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Dan Smithers wrote:
If I edit configure by hand to start

#! /bin/bash

it works.

You shouldn't be writing configure tests that depend on Bash.

The whole point of autoconf is that it lets you test for features on a system whose capabilities you do not yet fully understand. One of those capabilities is exactly how functional the Bourne-style shell is. On some systems, you won't find Bash *at all*, and on others, you will find something that's crippled even by SysVR3 standards.

Your tests should cope with all of this, using only as much shell functionality as is available on *all* of the systems you want to port to.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]