[Top][All Lists]
[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 19:26:15 +0200 |
User-agent: |
KMail/1.9.1 |
Gary V. Vaughan wrote:
> Untested:
>
> m4_define([gt__NEED_NGETTEXT_FU],
> [shell code to execute after expansion of AM_GNU_GETTEXT,
> whenever AM_GETTEXT_NEED_NGETTEXT is present somewhere])
>
> AC_DEFUN([AM_GNU_GETTEXT],
> [
> ...current contents of AM_GNU_GETTEXT definition...
>
> dnl make sure gt__NEED_NGETTEXT_FU is always expanded in the
> dnl presence of AM_GETTEXT_NEED_NGETTEXT:
> AC_PROVIDE_IFELSE([AM_GETTEXT_NEED_NGETTEXT],
> [gt__NEED_NGETTEXT_FU],
> [m4_define([AM_GETTEXT_NEED_NGETTEXT],
> [defn([AM_GETTEXT_NEED_NGETTEXT])
> gt__NEED_NGETTEXT_FU
> ])dnl
> ])# AM_GNU_GETTEXT
Thanks for the idea. With this one can have some shell code be executed
after the last invocation of any of the two given macros. But what I'm
looking for is even more: make it known at the beginning of the first
macro that an invocation of the second macro is coming later.
Bruno