Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Tim Rice
On Mon, 8 Mar 2021, Nick Bowler wrote: > Hi, > > I noticed that config.sub (and config.guess) scripts were very recently > changed to use the POSIX $(...) form for command substitutions. > > This change is, I fear, ill-advised. The POSIX construction is > widely understood to be nonportable as

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Nick Bowler
On 2021-03-08, Tim Rice wrote: > On Mon, 8 Mar 2021, Nick Bowler wrote: [...] >> These scripts using $(...) are incorporated into the recently-released >> Automake 1.16.3, which means they get copied into packages bootstrapped >> with this version. So now, if I create a package using the latest b

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Paul Eggert
On 3/8/21 3:00 PM, Dmitry V. Levin wrote: The only rationale provided by the previous maintainer so far is a short message in config-patches mailing list [1]. The config maintainer Ben Elliston has wanted to get rid of the old-fashioned accent graves for many years. In November 2017 he instal

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Karl Berry
Hi Dmitry, I tried to reach the author of that change [2], but, unfortunately, received no response. Ben's lack of response is no reason not to revert this unportability. After all, one steps down from maintainership in order not to spend time thinking about it any more. Clearly Ben had

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Bob Friesenhahn
On Mon, 8 Mar 2021, Nick Bowler wrote: These scripts using $(...) are incorporated into the recently-released Automake 1.16.3, which means they get copied into packages bootstrapped with this version. So now, if I create a package using the latest bits, configuring with heirloom-sh fails: Thi

Re: config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Dmitry V. Levin
Hi, On Mon, Mar 08, 2021 at 01:21:57PM -0500, Nick Bowler wrote: > Hi, > > I noticed that config.sub (and config.guess) scripts were very recently > changed to use the POSIX $(...) form for command substitutions. [...] > What was the motivation for this change? Backquotes work fine and are > mor

config.sub/config.guess using nonportable $(...) substitutions

2021-03-08 Thread Nick Bowler
Hi, I noticed that config.sub (and config.guess) scripts were very recently changed to use the POSIX $(...) form for command substitutions. This change is, I fear, ill-advised. The POSIX construction is widely understood to be nonportable as it is not supported by traditional Bourne shells such