[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Possible bug in configure script
From: |
Bruno Haible |
Subject: |
Re: Possible bug in configure script |
Date: |
Tue, 26 Jan 2021 02:41:16 +0100 |
User-agent: |
KMail/5.1.3 (Linux/4.4.0-197-generic; KDE/5.18.0; x86_64; ; ) |
Jeffrey Walton wrote:
> Placing flags in CC breaks other scripts. For example, this no longer works:
>
> if [[ ! $(command -v "${CC}") ]]; then
> echo "The compiler is not valid. Please install a compiler."
> exit 1
> fi
Such scripts are not supported. Some flags, like '-m32' or '-m64', MUST be
put in $CC. [1]
Bruno
[1]
https://www.gnu.org/savannah-checkouts/gnu/autoconf/manual/autoconf-2.70/html_node/Preset-Output-Variables.html
Re: Possible bug in configure script, Paul Eggert, 2021/01/25