autoconf
[Top][All Lists]
Advanced

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

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


From: Russ Allbery
Subject: Re: config.sub/config.guess using nonportable $(...) substitutions
Date: Tue, 09 Mar 2021 16:20:15 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)

Warren Young <warren@etr-usa.com> writes:

> Since all versions of Solaris postdate this, Sun really should have made
> /bin/sh a POSIX shell from the start, but for whatever reason, did not,
> and now that decision's causing us problems.

My recollection is that there was concern at the time with portability of
shell scripts written for SunOS.  Sun chose to keep /bin/sh (and various
other tools) compatible with SunOS rather than compatible with POSIX and
introduced the /usr/xpg4 path for those who wanted POSIX behavior.  That
trade-off of immediate compatibility for future pain has been causing
future pain ever since.

Interestingly, at around the same time they made that decision, they also
dropped bcopy and bzero from the standard library, provoking a ton of
porting problems.  (They reversed that decision later and added them
back.)

-- 
Russ Allbery (eagle@eyrie.org)             <https://www.eyrie.org/~eagle/>



reply via email to

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