[Top][All Lists]

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

Re: user upgrade path for renamed macros

From: Peter Simons
Subject: Re: user upgrade path for renamed macros
Date: Tue, 11 Aug 2009 16:12:09 +0200

Hi Filippo,

 > AFAICT AU_ALIAS call should be in addition to AC_DEFUN

I may be wrong, of course, but that doesn't sound quite right. According to
<>, the line


is equivalent to:


In other words, a call to AU_ALIAS implicitly defines the old macro name (to
expand to a call to the new name). This would imply that AU_ALIAS *replaces*
the former AC_DEFUN definition. The usage examples I found on the web all
looked like this:


For the Archive, this appears to imply the following strategy:

 1) The call to AU_ALIAS must be added to the *new* macros.

 2) Once that's done, obsolete macros must be deleted altogether, or their
    definitions will conflict with the forwarding aliases.

Unfortunately, the Autoconf documentation is really vague on those things.
Maybe it would be best to ask the Autoconf guys for advice on how to proceed?

Take care,

reply via email to

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