Re: skalibs ./configure args of form VAR=VALUE ignored

From: Laurent Bercot <ska-skaware_at_skarnet.org>
Date: Fri, 02 Jan 2015 23:48:45 +0100

On 02/01/2015 21:22, Patrick Mahoney wrote:
> In skalibs, ./configure --help says:
>
> To assign environment variables (e.g., CC, CFLAGS...), specify them as
> VAR=VALUE. See below for descriptions of some of the useful variables.
>
> Though specifying CC=<something> seems to have no effect.

  Ah, indeed. Thanks for the report.
  I removed the variable assignment on the command line because there needed
to be a specific line in the script for each single variable handled this
way; so, some variables would have an effect, and some would not. I didn't
like it, so I scrapped it all. But I forgot to update the --help message to
mention it. The --help message is now fixed in the current gits.


> Of course, the easy workaround of exporting the desired vars before running
> ./configure does have the intended effect.

  Yes, the intention was to support *environment* variables all along.
Specific VAR=value treatment in the configure arguments isn't worth the loss
of clarity, I think, since putting variables in the environment - or, with
most shells, simply specifying VAR=value before ./configure on the command
line - is so easy.

-- 
  Laurent
Received on Fri Jan 02 2015 - 22:48:45 UTC

This archive was generated by hypermail 2.3.0 : Sun May 09 2021 - 19:38:49 UTC