[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: Bob Friesenhahn
Subject: Re: How to change the shebang in 'configure' to require Bash
Date: Tue, 20 Mar 2018 08:32:54 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Tue, 20 Mar 2018, Russell Shaw wrote:

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.

This has all been discussed many times before. If it had been decided that installing some other package would be a prerequisite for running configure, then this issue would not exist. However, that decision was never made. The precursor to Autoconf was Perl's Configure, which was/is shell-based.

If some other package could be a prerequisite then making the prerequisite a Bourne like shell with a m4 pre-processor would be a silly choice since shell scripts are a very poor choice to meet configure's requirements.

A specially-crafted language syntax would be a better choice to meet configure requirements in order to avoid obscure and inefficient m4/shell/sed syntax.

Regardless, Autoconf ultimately works well and the shell script part of the effort that a configure script implementor must create is usually not very difficult at all.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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