|
From: | Ralf Corsepius |
Subject: | Re: Best practices to detect autoconf version in macro. |
Date: | Tue, 30 Mar 2010 16:25:11 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.8) Gecko/20100301 Fedora/3.0.3-1.fc12 Thunderbird/3.0.3 |
On 03/30/2010 04:01 PM, Konstantin Andreev wrote:
On 03/30/10 17:48, Ralf Corsepius wrote: On 03/30/10 17:48, Ralf Corsepius wrote:On 03/30/2010 11:13 AM, Konstantin Andreev wrote:Hello. I need to write a macro, which will be expanded by various versions of autoconf, including 2.13 :( Obviously, things, the macro does, must be accomplished differently. Could you advice, what is the best way to detect in macro, which autoconf version is currently expanding, and expand macro conditionally ?My advice would be to abandon your plan. It's not useful.I can not choose the autoconf version. The macro is for Mozilla, and they stuck at autoconf-2.13, sic!
I can feel the pain, nevertheless ...
I can only attempt to make a "forward compatible" macro.
... I can only reiterate my advice. ... mozilla missed ca. 10 years of development.Trying to stay bugward-compatible with a piece of software nobody wants to look back at, is doomed to fail.
The best approximation of what you can try to make their configuration compatible to a very recent version of autoconf and to abandon supporting earlier autoconf-versions.
Ralf
[Prev in Thread] | Current Thread | [Next in Thread] |