bug-autoconf
[Top][All Lists]
Advanced

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

Re: divert()/m4_divert() broken in autoconf-2.64+


From: Mike Frysinger
Subject: Re: divert()/m4_divert() broken in autoconf-2.64+
Date: Fri, 27 Nov 2009 17:16:33 -0500
User-agent: KMail/1.12.3 (Linux/2.6.31.4; KDE/4.3.3; x86_64; ; )

On Friday 27 November 2009 15:20:55 Ralf Wildenhues wrote:
> * Eric Blake wrote on Tue, Nov 24, 2009 at 10:46:19PM CET:
> > Maybe I should document the diversion names of DEFAULTS and
> > INIT_PREPARE; I'm a bit undecided on that one.  But I don't want to
> > document the values associated with named diversions, so that we are
> > free to change the underlying value at a later date (maybe
> > INIT_PREPARE will move to 350 if we add a new named diversion that
> > needs to be at 300); as long as you go through named interfaces rather
> > than raw numbers, then we can make such changes under the hood without
> > breaking compatibility with your configure.ac.
> 
> Hmm, is it somehow possible for the user to define a new diversion
> number between DEFAULTS and INIT_PREPARE by referring to these symbols
> only?  If yes, is that something you'd want to allow the user to do?

i was thinking that using a named diversion plus a range of positive offsets 
would be useful, but not sure if that's doable with m4.

i.e. create a named diversion USER and then people do divert(USER + 1), 
divert(USER + 10), etc...

the trouble with the current named diversions is that they all look like 
they're reserved for different 'internal' autotool usage.
-mike

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


reply via email to

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