[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Question about build-aux/bootstrap regarding $(...)
From: |
Eric Blake |
Subject: |
Re: Question about build-aux/bootstrap regarding $(...) |
Date: |
Tue, 16 May 2017 10:12:22 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.0 |
On 05/16/2017 12:47 AM, Akash Rawal wrote:
> Hello everyone,
>
> I observed that build-aux/bootstrap uses $(command) for command
> substitution which is known to be less portable than `command`.[1]
It's less portable only if you still intend to develop on any system
with /bin/sh as a non-POSIX sh (which is pretty much Solaris). There
aren't many GNU developers that use Solaris as their primary system. So
we haven't had many complaints.
At one point, Gary Vaughan contributed patches to rewrite the bootstrap
script using Autoconf's m4sh language, which uses portable shell
everywhere. But while projects like libtool and M4 have used his
rewrite, no one really ever took the time to review it for inclusion in
upstream gnulib.
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
signature.asc
Description: OpenPGP digital signature