bug-coreutils
[Top][All Lists]
Advanced

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

Re: gnulib and gettextize


From: Bruno Haible
Subject: Re: gnulib and gettextize
Date: Sat, 9 Sep 2006 21:40:28 +0200
User-agent: KMail/1.9.1

Eric Blake wrote:
> It is not possible to know what macros will be invoked later in the file.
>  But with diversions, it is possible for macros invoked later to emit
> shell code that will be invoked earlier, by making sure that
> gt__NEED_NGETTEXT_FU expands to shell code in a lower diversion number
> than AM_GNU_GETTEXT.  That way, AM_GNU_GETTEXT can emit shell code that
> depends on the value of a shell variable, where the shell variable is
> guaranteed to be set (either to a default if gt__NEED_NGETTEXT_FU is never
> called, or to a non-default by gt__NEED_NGETTEXT_FU) in an earlier diversion.

Thanks. Do you have an example of such use of diversions in autoconf
macros but outside autoconf itself? What is the range of allowed diversion
numbers?

Bruno




reply via email to

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