|
From: | Osipov, Michael (LDA IT PLM) |
Subject: | readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155 |
Date: | Tue, 17 Aug 2021 12:36:33 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.12.0 |
Folks,
+if test -n "$want_auto_cflags" ; then + AUTO_CFLAGS="-g ${GCC+-O2}" + STYLE_CFLAGS="${GCC+-Wno-parentheses} ${GCC+-Wno-format-security}" +fi
This hunks 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] |