On 05/16/2017 12:47 AM, Akash Rawal wrote:Hello everyone
Hi,
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 systemwith /bin/sh as a non-POSIX sh (which is pretty much Solaris). Therearen't many GNU developers that use Solaris as their primary system. Sowe haven't had many complaints.At one point, Gary Vaughan contributed patches to rewrite the bootstrapscript using Autoconf's m4sh language, which uses portable shelleverywhere.
Feels like a nit, but since it may affect another project owner's decision about whether to use the rewrite or not: there is no m4sh in there, it is portable she'll all the way down, and the repo is designed to work as a git submodule that easily interoperates with gnulib:
Pavel Raiskup kindly took over maintenance, and has considerably speeded up the script since then. Other pros and cons are discussed briefly in the README.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.
It's not too late! :-)
Cheers, Gary
|