autoconf
[Top][All Lists]
Advanced

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

Re: macros for rpath support


From: Bruno Haible
Subject: Re: macros for rpath support
Date: Mon, 27 May 2002 14:56:57 +0200 (CEST)

Akim Demaille writes:
> This is a very welcome addition to Autoconf.

Nice to hear :-)

> There remains mostly details to settle:  the code will be tranformed
> for 2.54, which basically means that 2.13 compatibility stuff will be
> removed.

Fine with me.

> Since you keep backward compatibility, this means we will
> have two sets of macros.

Yes. Until gettext.m4 requires autoconf-2.54, we will have two sets of
macros.

> For safety, it would be good that we have two different macro names.

I recommend using aclocal-1.5 or newer, then there are no safety
issues.

I prefer to use the same macro names in gettext/m4 and in autoconf;
otherwise I would need to conditionalize the code in gettext.m4

    if (autoconf version >= 2.54)
      use autoconf macro names
    else
      use lib-link.m4 macro names

but I cannot do so because there is no such 'if' construction. Only
AC_PREREQ is documented, but it is not helpful here.

So please choose some arbitrary name for the macro
(ex-AC_LIB_LINKFLAGS), and I'll use the same one in gettext.

> I just worried about seeing the Autoconf implementation being always
> hidden behind the one provided in aclocal.m4.

gettextize will be changed to not include its own version of the
macros if it finds AC_PREREQ(2.54) in the configure.in/ac.

> I also fear that we might bring in some extension to the Autoconf
> version, which will not work if the implementation is Gettext's.

That would be bad. Please tell me about the extension in such cases,
so that I can copy it into gettext/m4.

Bruno



reply via email to

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