[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: readline does not compile anymore on HP-UX since d5f26b1287916c17903
From: |
Chet Ramey |
Subject: |
Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155 |
Date: |
Tue, 17 Aug 2021 11:09:18 -0400 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 |
On 8/17/21 10:01 AM, Osipov, Michael (LDA IT PLM) wrote:
> But is still logically doesn't add up. From ./configure:
>> if test $ac_compiler_gnu = yes; then
>> GCC=yes
>> else
>> GCC=
>> fi
>
> So the variable is *always* set. Thus word is always substituted. I would
> expect no else branch in the if clause then I would competely agree with
> Chet. Removing the else block makes the sript works as expected.
>
> What am I missing here?
I think that's the issue. But since that code fragment isn't in the bash
or readline configure.ac, it's inserted by autoconf, probably as part of
AC_PROG_CC.
The documentation for AC_PROG_CC doesn't mention setting GCC to the empty
string if the compilation is not using gcc, but it seems to do that.
I guess I'll have to work around it.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/
- readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Osipov, Michael (LDA IT PLM), 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Chet Ramey, 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Osipov, Michael (LDA IT PLM), 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155,
Chet Ramey <=
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Osipov, Michael (LDA IT PLM), 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Chet Ramey, 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, dima . pasechnik, 2021/08/17
- Re: readline does not compile anymore on HP-UX since d5f26b1287916c1790323965d46f5e0acad89155, Chet Ramey, 2021/08/17