Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Greg Wooledge
On Tue, Aug 17, 2021 at 06:03:36PM +0300, Ilkka Virta wrote: > I have this in the configure script: > > if test $ac_compiler_gnu = yes; then > GCC=yes > else > GCC= > fi > > I don't know which part of autoconf exactly generates it. It comes from the AC_PROG_CC macro. On my system, this

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Ilkka Virta
On Tue, Aug 17, 2021 at 5:40 PM Greg Wooledge wrote: > I'm still wondering what issue the OP is actually seeing. If they claim > that changing ${GCC+-stuff} to ${GCC:+-stuff} in some file fixes things, > and if they also claim that *something* is setting the GCC variable to > the empty string

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Greg Wooledge
On Tue, Aug 17, 2021 at 07:30:45AM -0700, L A Walsh wrote: > The pairs are about 4 related operations. If you let P = the oPerator > then the odd lines are about ':P' and the even lines are about 'P' (no > colon). > The Pairs from 1-4 are about the operators: '-', '=', '?', '+' > > Pair 4 shows

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread L A Walsh
On 2021/08/17 04:02, Osipov, Michael (LDA IT PLM) wrote: Folks, this is basically the same issue as I reported in readline: https://lists.gnu.org/archive/html/bug-readline/2021-08/msg0.html The bad hunk seems not to be POSIX shell compliant. I think your eyes are fooling you. I

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Greg Wooledge
On Tue, Aug 17, 2021 at 04:03:17PM +0200, Osipov, Michael (LDA IT PLM) wrote: > Am 2021-08-17 um 15:53 schrieb Greg Wooledge: > > What version of HP-UX? What is the actual error you're getting? > > Latest and greatest: 11.31 v3 > > > I only have access to certain older versions of HP-UX, but I

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Am 2021-08-17 um 15:53 schrieb Greg Wooledge: > On Tue, Aug 17, 2021 at 01:02:06PM +0200, Osipov, Michael (LDA IT PLM) wrote: >> this is basically the same issue as I reported in readline: >>

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Chet Ramey
On 8/17/21 7:02 AM, Osipov, Michael (LDA IT PLM) wrote: > Folks, > > this is basically the same issue as I reported in readline: > https://lists.gnu.org/archive/html/bug-readline/2021-08/msg0.html > > The bad hunk seems not to be POSIX shell compliant. It is valid POSIX shell code.

Re: bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Greg Wooledge
On Tue, Aug 17, 2021 at 01:02:06PM +0200, Osipov, Michael (LDA IT PLM) wrote: > this is basically the same issue as I reported in readline: > https://lists.gnu.org/archive/html/bug-readline/2021-08/msg0.html As Chet said in that message, you have misinterpreted the POSIX documentation. > The

bash-5.1.8 does not compile anymore on HP-UX due to invalid shell syntax

2021-08-17 Thread Osipov, Michael (LDA IT PLM)
Folks, this is basically the same issue as I reported in readline: https://lists.gnu.org/archive/html/bug-readline/2021-08/msg0.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