bug-gnulib
[Top][All Lists]
Advanced

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

Re: help about merging gnulib/autoconf/automake/libintl


From: Bruno Haible
Subject: Re: help about merging gnulib/autoconf/automake/libintl
Date: Wed, 28 Sep 2005 13:47:47 +0200
User-agent: KMail/1.5

Claudio Fontana wrote:
> I used gettextize with --intl option.
> Why is it not common? If the system does not provide
> libintl.h, I do by including intl/* no? What am I
> missing?

All systems support shared libraries, nowadays. And many packages are
installed as binary packages through package distributors, like 'fink' for
MacOS X or 'cygwin' for Woe32. Among these sets of binary packages,
GNU gettext with a shared libintl library is installed, because many packages
depend on it. So the chances are very high that libintl as a shared library
(and libintl.h) is already on the user's disk when he tries to compile your
program.

> However, when configuration chooses NOT to use
> included intl/ the build must correctly catch the
> system <libintl.h>, that is why I went with the "if"
> in configure.ac .
> Do you think it's ok?

For several years already, gettext's intl/ directory doesn't contain
a libintl.h by default any more. Rather, it generates the libintl.h only
on those platforms that don't have it. So, my guess is, either you are
using a very old copy of gettextize, or you didn't do a "make distclean"
between two builds on different machines.

Bruno





reply via email to

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