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

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

[gettext] Re: gettext - bug report


From: Bruno Haible
Subject: [gettext] Re: gettext - bug report
Date: Fri, 27 Apr 2001 13:51:12 +0200 (MET DST)

Eleftherios Gkioulekas wrote on 1998-11-18:

> When the program "gettextize" runs it should at least touch po/ChangeLog
> If it does not do that, and if the user runs "make distcheck" before
> he has a chance to create a ChangeLog in the po subdirectory, then
> "make" gets to complain about the absense of the ChangeLog file and stops.

gettextize in gettext-0.10.37 now does this. Thanks for the
suggestion.

> it seems that I can`t get stuff to compile without adding the
> following line to Makefile.am:
>
> DEFS = -DLOCALEDIR="$(localedir)" @DEFS@

The intl/ subdir compiles correctly without this setting.

You probably need LOCALEDIR if you use it as argument to
bindtextdomain() in your main function. That's your own C code;
so it's your responsibility to use this setting.

> Also, the AM_GNU_GETTEXT macro should be updated when the new
> Automake and Autoconf come out (Autoconf version 2.13). All occurances
> of AC_DEFINE should make use of the "3rd argument" so that developers
> don`t have to put the following stuff in acconfig.h by themselves:
>
> #undef ENABLE_NLS
> #undef HAVE_CATGETS
> #undef HAVE_GETTEXT
> #undef HAVE_LC_MESSAGES
> #undef HAVE_STPCPY

This is fixed in gettext-0.10.37. Thanks for the suggestion.

> Finally, did you have a chance to take a look at the gettext manual
> written by Ben Bullock? It`s brief, but quite nice, though it can be
> improved and some stuff from the canonical manual should be added there. 
> URL: http://www.hayamasa.demon.co.uk/doc/gettext.texi

Unfortunately the URL is gone now :-(

Bruno



reply via email to

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