bug-gnulib
[Top][All Lists]
Advanced

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

for review: Patch for gettext.m4 to better support included libintl


From: Claudio Fontana
Subject: for review: Patch for gettext.m4 to better support included libintl
Date: Fri, 6 Jan 2006 15:40:32 -0800 (PST)

Hello,

I forward to the list this small patch for better
"included libintl" support for review. It is my
intention to do these other things to further improve
integration of intl with gnulib:

* make a gettext-included module that automatically
calls gettextize --intl
  on gnulib-tool --import.

* document this setup better where necessary

DESCRIPTION:

when writing code that should be portable to systems
that do not happen to 
have a working libintl, the current situation is in my
opinion suboptimal.

running gettextize --intl creates the necessary intl/
subdirectory (the INTLDIR) in the to-be-distributed
package.

Then suppose we are using full autotools and gnulib
support, so lib/, and lib/Makefile.am are completely
handled by gnulib.

lib/ itself and any other intl-aware code needs to
[indirectly] include libintl.h, so it would be handy
(and orthogonal to what happens in the [external]
case) if AM_GNU_GETTEXT, when using the included
libintl, automatically added -I $INTLDIR to the
CPPFLAGS.

This patch does exactly that: adds INTLDIR to the
CPPFLAGS when using the internal libintl.

Bye,

CLaudio


Chiacchiera con i tuoi amici in tempo reale! 
 http://it.yahoo.com/mail_it/foot/*http://it.messenger.yahoo.com 

Attachment: gettext.m4.included_intl_cppflags.udiff
Description: 3821542357-gettext.m4.included_intl_cppflags.udiff


reply via email to

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