[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP-BUG: PSPP make check errors
From: |
John Darrington |
Subject: |
Re: PSPP-BUG: PSPP make check errors |
Date: |
Sat, 29 Aug 2020 09:56:03 +0200 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
Hello Jeff,
According to
ttps://pubs.opengroup.org/onlinepubs/9699919799/utilities/test.html
test -z is part of the posix /bin/sh shell. Do you know of a platform
where this is not the case?
J'
On Fri, Aug 28, 2020 at 07:14:16PM -0400, Jeffrey Walton wrote:
Here's the problem in your configure script:
16166 # Put a plausible default for CC_FOR_BUILD in Makefile.
16167 if test -z "$CC_FOR_BUILD"; then
16168 if test "x$cross_compiling" = "xno"; then
16169 CC_FOR_BUILD='$(CC)'
16170 else
16171 CC_FOR_BUILD=cc
16172 fi
16173 fi
I think line 16169 is OK.
I think the problem is on 16167 and the Bashism: test -z
"$CC_FOR_BUILD". I think you need to do that the /bin/sh way:
if test "x$CC_FOR_BUILD" = "x"; then
Jeff
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], (continued)
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Paul Eggert, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Ruth Waite, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Paul Eggert, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Ruth Waite, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Bruno Haible, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Bruno Haible, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Bruno Haible, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Ruth Waite, 2020/08/28
- Re: PSPP-BUG: PSPP make check errors [cross posting to address@hidden], Bruno Haible, 2020/08/29
- Message not available
- Message not available
- Message not available
- Re: PSPP-BUG: PSPP make check errors, John Darrington, 2020/08/29
- Message not available
- Message not available
- Re: PSPP-BUG: PSPP make check errors,
John Darrington <=