[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GNU gettext 0.12.1 INSTALLPREFIX et al
From: |
Tyler Berry |
Subject: |
Re: GNU gettext 0.12.1 INSTALLPREFIX et al |
Date: |
Tue, 22 Jul 2003 14:55:41 -0600 |
On Tuesday, July 22, 2003, at 02:15 PM, Bruno Haible wrote:
AM_GNU_GETTEXT([use-libtool],[need-ngettext])
AM_GNU_GETTEXT_VERSION(0.12.1)
The value that you use as first argument of AM_GNU_GETTEXT,
[use-libtool],
is not documented any more. It was documented by accident in gettext
0.11.x,
but that was a mistake. Only [external] and [no-libtool] (or empty) are
supported in this place.
That would explain it; I constructed the package originally using
0.11.x, and updated it to 0.12.1 later. As per the 0.12.1
documentation, I'm updating this to
AM_GNU_GETTEXT([no-libtool],[need-ngettext]), which should give me what
I need.
Additionally, I've attached a patch which I found necessary to get the
gettext.h header to work on Darwin 6.6, which does not have
<libintl.h>
in any of its standard include locations. Since gettext.h
unconditionally #includes <libintl.h> rather than "libintl.h", it was
unable to locate the header.
The usual fix for this is to add appropriate -I flags to the INCLUDES
variable in the Makefile.am. See also item 6 in the section
"`Makefile.in' in `src/'" (Node: src/Makefile) of the gettext
documentation.
Once you have put this recommendation in place, your gettext.h patch
is not
needed any more.
Noted, and I do hereby record blushing that I missed this
recommendation in the first place. Moral: read the Info file twice to
make sure you didn't miss something.
Thanks for reporting the issue.
Thank you for the help, and also for the quick reply.
- Tyler Berry
PGP.sig
Description: PGP signature