[Top][All Lists]

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

Re: gt_INTL_MACOSX not defined by gettext.m4

From: Bruno Haible
Subject: Re: gt_INTL_MACOSX not defined by gettext.m4
Date: Fri, 14 Jul 2017 00:57:43 +0200
User-agent: KMail/5.1.3 (Linux/4.4.0-83-generic; KDE/5.18.0; x86_64; ; )

Gavin Smith wrote:
> Originally reported here:
> http://lists.gnu.org/archive/html/bug-texinfo/2017-07/msg00026.html

Looking at the gnulib-cache.m4 and gnulib-comp.m4 from said package:
  * gettext.m4 does NOT come from gnulib.
  * You are using gnulib module 'gettext-h', not 'gettext'. (Which is perfectly
    OK, since the 'gettext' module is now marked obsolete.)

Then further in the ChangeLog:

  2017-05-17  gettextize  <address@hidden>

        * gnulib/m4/gettext.m4: New file, from gettext-0.19.8.
        * gnulib/m4/iconv.m4: Upgrade to gettext-0.19.8.
        * gnulib/m4/lib-ld.m4: Upgrade to gettext-0.19.8.
        * gnulib/m4/lib-link.m4: Upgrade to gettext-0.19.8.
        * gnulib/m4/lib-prefix.m4: Upgrade to gettext-0.19.8.
        * gnulib/m4/nls.m4: New file, from gettext-0.19.8.
        * gnulib/m4/po.m4: New file, from gettext-0.19.8.
        * gnulib/m4/progtest.m4: New file, from gettext-0.19.8.

  2017-05-17  Gavin Smith  <address@hidden>

        * gnulib: run gnulib-tool to import 'gettext-h' module instead
        of 'gettext' module, as the 'gettext' module is deprecated in 
        Gnulib. run gettexize again to put the files back.

Here's the problem: gettextize, when it installs gettext.m4, also ought
to install intlmacosx.m4 and other files (23 files, not just 8 files).

I guess the problem is that when you ran gettextize, you still had some
*.m4 files from earlier gnulib-tool invocations present in gnulib/m4/,
therefore gettextize did not update them. But later on, "gnulib-tool --update"
removed these files, because the 'gettext' module was not present any more.

The fix should be to use 2 directories for *.m4 files:
  ACLOCAL_AMFLAGS = -I otherm4 -I gnulib/m4
then run gettextize again. It should put its *.m4 files into otherm4/ and ignore
gnulib/m4/. Then you should get all 23 files, including intlmacosx.m4.

> gettext.m4 from gnulib uses a macro gt_INTL_MACOSX

But you are not using gettext.m4 from gnulib!


reply via email to

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