[Top][All Lists]

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

Re: Quick divert() 2.13/2.6x portability macro

From: Rasmus Lerdorf
Subject: Re: Quick divert() 2.13/2.6x portability macro
Date: Sun, 29 Nov 2009 12:33:56 -0800
User-agent: Thunderbird (X11/20090817)

Ralf Wildenhues wrote:
> * Thomas Dickey wrote on Sat, Nov 28, 2009 at 04:26:58PM CET:
>> On Sat, 28 Nov 2009, Eric Blake wrote:
>>> Here's a thought.  I'm not sure whether the divert's were necessary in
>>> autoconf 2.13 (that is so old that it pre-dates my involvement with
>> 2.13 uses diverts for help-messages, etc.
>> 2.5x added more, later as part of duplicating the text with/without the
>> --enable/--disable stuff.
>> For more recent changes, one would assume you knew offhand the history.
>>> autoconf, and I have no interest in trying to make it work).  But, on the
>> that comment doesn't sound as if you looked at 2.13 before answering.
> We looked at a PHP package and its diversion usage for its toplevel
> configure script with Autoconf 2.13 when a bug with PHP and newer
> Autoconf was last reported, within the last couple of weeks, on the
> bug-autoconf list IIRC, and when it was first reported, several months
> ago.  What I could find there was that removing the diverts was mostly
> a no-op (except for configure line numbers changing, and some comments).
> But I haven't looked at the exact PHP version discussed in this thread
> now.

Removing the diverts and adding AC_PRESERVE_HELP_ORDER after the AC_INIT
call does fix things for PHP in recent autoconfs.  My main issue was
trying to support both.  The next major release will drop autoconf-2.13
support, but unfortunately I can't do that in a minor release.


reply via email to

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