|
From: | Osipov, Michael (LDA IT PLM) |
Subject: | bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax |
Date: | Tue, 17 Aug 2021 13:02:06 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 |
Folks,this is basically the same issue as I reported in readline: https://lists.gnu.org/archive/html/bug-readline/2021-08/msg00000.html
The bad hunk seems not to be POSIX shell compliant. Both vars are set for me on HP-UX because the expansion is incomplete. According to [1] it has to be $(GCC:+..} and not $(GCC+..}. I have changed ./configure locally and it works with /bin/sh.
I assume that this should also work on any other POSIX compliant shell. Michael[1] https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_06_02
[Prev in Thread] | Current Thread | [Next in Thread] |