Mail Archives: djgpp/2000/07/16/14:32:21
From: | "Tim 'Zastai' Van Holder" <zastai AT hotmail DOT com>
|
Newsgroups: | comp.os.msdos.djgpp
|
References: | <Pine DOT SUN DOT 3 DOT 91 DOT 1000716191040 DOT 23898C AT is>
|
Subject: | Re: ANNOUNCE: DJGPP port of GNU gettext-0.10.35
|
Lines: | 40
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Newsreader: | Microsoft Outlook Express 5.00.2314.1300
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2314.1300
|
Message-ID: | <RZmc5.45328$SU5.967828@afrodite.telenet-ops.be>
|
Date: | Sun, 16 Jul 2000 18:16:17 GMT
|
NNTP-Posting-Host: | 213.224.63.5
|
X-Trace: | afrodite.telenet-ops.be 963771377 213.224.63.5 (Sun, 16 Jul 2000 20:16:17 MET DST)
|
NNTP-Posting-Date: | Sun, 16 Jul 2000 20:16:17 MET DST
|
Organization: | Pandora - Met vlotte tred op Internet
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1000716191040 DOT 23898C AT is...
>
> On Sun, 16 Jul 2000, Tim 'Zastai' Van Holder wrote:
>
> > My previous port didn't do this; instead it defined the
> > commonly used _(foo) macro to use gettext__.
>
> Doesn't this break configure scripts which probe the system for gettext
> being installed?
No (well, not usually). GNU programs generally use the AM_GNU_GETTEXT
macro to add i18n support (Cygnus trees use CY_GNU_GETTEXT). As of serial
104 (or thereabouts) of gettext.m4 (the macro file that defines
AM_GNU_GETTEXT),
Ulrich Drepper, the gettext maintainer, added a workaround so gettext won't
be found
in libc under DJGPP; it is then found later in libintl.
The only problems are that:
a) Some packages still use old versions of this macro, eg fp_GNU_GETTEXT.
This is of
course easily fixed by editing configure.in (or acinclude.m4, or ...,
depending on where the
macro is used). This will, however, require autoconf/automake to
rgenerate configure.
b) The gettext.m4 is not part of aclocal (automake) yet (I think). Many
packages include
outdated releases of libintl (eg 0.10.32); the gettext.m4 didn't have
the DJGPP workaround
then. I recommend putting the correct gettext.m4 (and cygettext.m4 if
you use Cygnus
packages too) in $DJDIR/share/aclocal, and remove the versions
included in the package.
Running aclocal will then use the correct macro.
--
Hi, I'm a signature virus. plz set me as your signature and help me spread
:)
- Raw text -