autoconf
[Top][All Lists]
Advanced

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

Re: [RFC] getting rid of the config.guess/sub problem when bootstrapping


From: Henrique de Moraes Holschuh
Subject: Re: [RFC] getting rid of the config.guess/sub problem when bootstrapping new ports/systems
Date: Sat, 18 May 2013 09:42:59 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

On Sat, 18 May 2013, Paul Wise wrote:
> On Fri, 2013-05-17 at 16:05 -0300, Henrique de Moraes Holschuh wrote:
> > Yes.  It would have been really useful if autofoo used whatever is in
> > /usr/share/misc, unless there is a config.sub.override or
> > config.guess.override file in the source directory (or even better,
> > something pointed to by environment variables), and deprecate
> > source-directory config.guess and config.sub.
> 
> My original patch didn't allow overrides, here is an updated one.

IME, it is much better when any override mechanism make use of environment
variables.  These are very easy to set per-build, per-user and system-wide,
unlike system-wide files and even per-project files.

It would be enough for the environment variables, when present, set the name
of the override files, and default to local config.{sub,guess}.override or
whatever when the variables are not set.

-- 
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh



reply via email to

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