[Top][All Lists]

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

Re: How to change the shebang in 'configure' to require Bash

From: Russell Shaw
Subject: Re: How to change the shebang in 'configure' to require Bash
Date: Tue, 20 Mar 2018 23:01:15 +1100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2

On 20/03/18 22:53, Russell Shaw wrote:
On 20/03/18 21:07, R. Diez wrote:

Requiring a POSIX shell in the next version is an improvement, but POSIX is too limiting to really help. It is 2018. No wonder so many people want to ditch Autoconf!

Autoconf is hard to learn because becoming properly familiar with shell programming is hard enough for new shell hackers, let alone figuring out the several versions of Bourne-like shells around and their extensions, plus reading all that posix standards stuff, then having to read all about and mastering M4.

An alternative way to portability would be to ditch M4 so that everything is done directly in a shell that comes with autoconf. The shell could have inbuilt functions for the common things needed like regular expressions etc.

I'll need to reword that.

If autoconf'd programs required the end users to have an installation-shell that is ported to all systems of interest, then the learning requirements of autoconf users should be a lot less.

reply via email to

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