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: Mike Frysinger
Subject: Re: [RFC] getting rid of the config.guess/sub problem when bootstrapping new ports/systems
Date: Wed, 22 May 2013 12:22:56 -0400
User-agent: KMail/1.13.7 (Linux/3.8.3; KDE/4.6.5; x86_64; ; )

On Monday 20 May 2013 10:37:00 Eric Blake wrote:
> On 05/18/2013 05:45 AM, 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.
> 
> I would MUCH rather see us honor a CONFIG_GUESS and CONFIG_SUB
> environment variable, rather than baking in a PATH search.  This topic
> has come up in the past, where I made the same request back then.

this might be sufficient for distro packagers (once they're "in the know" that 
they have to export these two), but that doesn't help people who download 
arbitrary packages and run `./configure` themselves.

what if the autoconf macros grew a new option/macro so that in the very 
uncommon case that someone has written their own, they could explicitly 
declare so ?
        AC_CANONICAL_CUSTOM

this would disable the custom search path and only respect the env vars
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

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