Re: Possible bug in configure script

2021-01-26 Thread Jeffrey Walton
On Tue, Jan 26, 2021 at 12:32 PM Bruno Haible wrote: > > Jeffrey Walton wrote: > > > 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

Re: Possible bug in configure script

2021-01-26 Thread Bruno Haible
Jeffrey Walton wrote: > > 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 > > >

Re: Possible bug in configure script

2021-01-26 Thread simon--- via Gnulib discussion list
Paul Eggert writes: > On 1/25/21 7:55 PM, Jeffrey Walton wrote: > >>> 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

Re: Possible bug in configure script

2021-01-25 Thread Paul Eggert
On 1/25/21 7:55 PM, Jeffrey Walton wrote: 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 You can easil

Re: Possible bug in configure script

2021-01-25 Thread Jeffrey Walton
On Mon, Jan 25, 2021 at 8:41 PM Bruno Haible wrote: > > 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." > > exi

Re: Possible bug in configure script

2021-01-25 Thread Bruno Haible
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 '-m

Re: Possible bug in configure script

2021-01-25 Thread Jeffrey Walton
On Mon, Jan 25, 2021 at 5:49 PM Bruno Haible wrote: > > Hi, > > Peter Dyballa wrote: > > The configure script of wget 1.21.1 seems to have a bug, which becomes > > visible > > at least on old Mac OS X versions which use old GCC 4.2, see this report: > > https://trac.macports.org/ticket/62134. It'

Re: Possible bug in configure script

2021-01-25 Thread Paul Eggert
On 1/25/21 1:25 PM, Peter Dyballa wrote: The configure script of wget 1.21.1 seems to have a bug, which becomes visible at least on old Mac OS X versions which use old GCC 4.2, see this report:https://trac.macports.org/ticket/62134. It's my assumption that the tests for C99 and C11 capabilitie

Re: Possible bug in configure script

2021-01-25 Thread Bruno Haible
Hi, Peter Dyballa wrote: > The configure script of wget 1.21.1 seems to have a bug, which becomes visible > at least on old Mac OS X versions which use old GCC 4.2, see this report: > https://trac.macports.org/ticket/62134. It's my assumption that the tests for > C99 and C11 capabilities are incor

Possible bug in configure script

2021-01-25 Thread Peter Dyballa
Hello! The configure script of wget 1.21.1 seems to have a bug, which becomes visible at least on old Mac OS X versions which use old GCC 4.2, see this report: https://trac.macports.org/ticket/62134. It's my assumption that the tests for C99 and C11 capabilities are incorrect while the maintain