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

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

Re: AM_GNU_GETTEXT(use-libtool) and Automake's "make distcheck"


From: Bruno Haible
Subject: Re: AM_GNU_GETTEXT(use-libtool) and Automake's "make distcheck"
Date: Mon, 20 Jan 2003 16:56:19 +0100 (CET)

Simon Josefsson writes:

> I'm indeed creating a shared library that uses gettext().  But I also
> create one application that also uses gettext(), and I want it to be
> able to use gettext even when the system doesn't provide it, so I
> guess use-libtool is the best choice.

For this case, the only supported way to proceed is that you strongly
recommend to the users of your package to install GNU gettext first.

An other approachs would be your other shared library includes
intl/*.lo - you can do this but 1. it's some work for you to get all
the Makefile details right, 2. the user will want libintl installed on
his system anyway, for the sake of other packages.

Remember, the wish for internationalization comes from particular
users, not particular packages. Some user want i18n for all packages,
some don't need it at all. Very rare will be the users who want i18n
only for your program and not the others.

> The problem seems to be that libtool
> wants to relink the library and since --with-included-gettext was
> specified, -lintl is added unconditionally, which it doesn't work
> since the intl/ directory doesn't install that library.

I see.

Bruno






reply via email to

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