[Top][All Lists]

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

[bug-gnulib] Re: gettext module for packages with gettext included

From: Simon Josefsson
Subject: [bug-gnulib] Re: gettext module for packages with gettext included
Date: Fri, 28 Jan 2005 18:03:00 +0100
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> Hi,
> On Fri, Jan 28, 2005 at 03:12:41PM +0100, Simon Josefsson wrote:
>> Perhaps gettext.h could be separated from the other gettext macros, if
>> this would be useful for you.  I'm not sure I understand exactly what
>> you want to achieve, though.
> I want to fix GNU grep to use gnulib-tool --import.
> So I suppose I'll list the required modules somewhere (gl_MODULES in
> configure.ac) and gnulib-tool will to all the work.

Yes.  See the gnulib manual.

However, perhaps we should rename these macros before they get used
too widely.  They were poorly named and they are inflexible.  There
was some discussion with Gary V. Vaughan that suggested a better
style, but when I tried to implement it, it got really ugly to parse
things in a shell script.

> gnulib-tool does resolve the dependencies, right?


> And the dependencies will probably bring the gettext module.
> I want to make sure that there are no conflicts (autopoint?).

You could put the gnulib m4's and the autopoint m4's in separate
directories, to avoid the direct file conflicts, and then use -I
ordering to select which to use.  I'm using this in some projects.

But it still requiring some tinkering, so it is not perfect.

> If you are right that I need nothing more than gettext.h, then all I need
> is to implement option --exclude=gettext for gnulib-tool, so that the
> dependencies won't bring it in.  I can then copy gettext.h separately
> and add it to EXTRA_DIST by hand.

A --exclude parameter would be a good thing, I realize now that I have
wanted one a few times.

> Does it explain what I want to achieve?  Do you have any hints for me?

Try it without --exclude first, it should be possible to get things to
work.  Perhaps looking at some of my projects (Libidn, GNU SASL,
GnuTLS, Shishi or Base64) that use gnulib will help.

reply via email to

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