bug-gnu-utils
[Top][All Lists]
Advanced

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

help about merging gnulib/autoconf/automake/libintl


From: Claudio Fontana
Subject: help about merging gnulib/autoconf/automake/libintl
Date: Tue, 27 Sep 2005 02:49:43 -0700 (PDT)

Hello,

I am looking for information about the Right Way(from
now on RW) to merge gnulib/autoconf/automake/libintl .

While upgrading the id-utils build system with latest
gnulib modules I faced following problems:

1) I use gl_EARLY, gl_SOURCE_BASE, gl_M4_BASE, gl_LIB,
gl_MODULES, gl_INIT in configure.ac . However it seems
to me that the system is always building all the
modules, even though no replacements are needed. Is
this normal?

2) I have the gettext module among the others, so I
include gettext.h instead of libintl.h .
However, gettext.h includes <libintl.h>, and this
creates a problem when building on systems that miss
that header. I mean, I have it in my replacement
intl/, 
but being lib/* autogenerated I cannot (well should
not) edit lib/Makefile.am by hand to add the directory
to the flags. I solved by appending to CFLAGS during
configuration,

ALL_LINGUAS="de fr nl pl"
AM_GNU_GETTEXT

if test "x$USE_INCLUDED_LIBINTL" = "xyes"; then
  CFLAGS="$CFLAGS -I ../intl"
fi

but..is it the RW?

3) In the manual, the AM_GNU_GETTEXT macro is said to
be followed by LIBS = @LIBINTL@ @LIBS@ in Makefile.in.
But with automake? I added it using LDADD, so it
should recognize the dependency. Is this the RW? 

Please, send me links to any tutorial about
gnulib/gettext I might not have found yet (I only read
the manuals).

CLaudio


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 




reply via email to

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