bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Possible bug in configure script


From: Jeffrey Walton
Subject: Re: Possible bug in configure script
Date: Mon, 25 Jan 2021 22:55:37 -0500

On Mon, Jan 25, 2021 at 8:41 PM Bruno Haible <bruno@clisp.org> 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
>
> Such scripts are not supported.

I actually do that in my configure.ac. Quality user feedback is more
important than working around Autotools bugs.

> Some flags, like '-m32' or '-m64', MUST be
> put in $CC. [1]

I place them where they belong - in CFLAGS and CXXFLAGS. The downside
is you have to pick the triplet on Solaris and a few other platforms.

Working around the Autotools bugs just means they will never get
fixed. They will keep telling the world to work around their bugs.

Jeff



reply via email to

[Prev in Thread] Current Thread [Next in Thread]