[Nagiosplug-devel] Translations and gettext

Ton Voon tonvoon at mac.com
Tue Nov 23 12:07:02 CET 2004


On 23 Nov 2004, at 19:08, Yves wrote:

>
>> Ton Voon wrote:
>
>> Without presenting a detailed solutiion, I note that gettext is ALWAYS
>> invoked by the _() macro -- I think the path to take is to be sure 
>> that
>> id gettext is not present, then the _() macro should expand to a noop.
>
> Right, but here is how to disable it
>
> From gettext.h from gettext-0.14, extract :
> #if ENABLE_NLS
> # include <libintl.h>
> #else
> # define gettext(Msgid) ((const char *) (Msgid))
> #endif
>

But gettext.h is already in CVS HEAD (copied from coreutils), which is 
basically the code extract above. So do you think the ENABLE_NLS is set 
incorrectly on the AIX systems? Is that the solution?

Ton





More information about the Devel mailing list