[Top][All Lists]

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

using ${var:-value} substitutions in config.sub

From: Ben Elliston
Subject: using ${var:-value} substitutions in config.sub
Date: Tue, 14 Aug 2018 19:28:42 +1000
User-agent: NeoMutt/20170609 (1.8.3)

Hi John

The Autoconf shell portability guide [1] says this about ${var:-value}
substitutions (which, I should point out, *are* in the POSIX shell):

    Old BSD shells, including the Ultrix sh, don't accept the colon
    for any shell substitution, and complain and die. Similarly for
    ${var:=value}, ${var:?value}, etc.


So, the question is, should we use these in config.sub? My instinct is
that we should allow anything that is in POSIX sh.  I'm sure someone
out there is still running Ultrix, but they shouldn't be. ;-)

@eggert, what do you think?

Cheers, Ben

Attachment: signature.asc
Description: PGP signature

reply via email to

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