[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: Mon, 19 Mar 2018 11:33:40 -0500 (CDT)
User-agent: Alpine 2.20 (GSO 67 2015-01-07)

On Sun, 18 Mar 2018, R. Diez wrote:

I realise that this decision goes against Autoconf's portability principle. But even as a humble user, I am entitled to some freedom of choice. 8-)

I could write some code in to detect the current shell. But is there any way to tell Autoconf to output a Bash shebang in the generated 'configure' script, instead of the standard "#! /bin/sh".

Users also have the freedom of choice to move on (to some other software) when configure fails.

Bash is not always /bin/bash.  It may be installed in other paths.

The configure script does some checks of the current shell and it is not uncommon for it to decide to use bash rather than the initial shell.

Given your feelings about Autoconf's configure, perhaps you should use a configure look-alike as GNU lzip (written by Antonio Diaz Diaz) does.

Bob Friesenhahn
GraphicsMagick Maintainer,

reply via email to

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