[Nagiosplug-devel] Translations and gettext

Yves Mettier ymettier at libertysurf.fr
Thu Nov 25 00:49:00 CET 2004


>> 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?

Is "--disable-nls" specified on the "configure" command line ?
It seems to be an option that gettextize adds (thanks to some m4 macro), and that
undefines ENABLE_NLS. With better words, ENABLE_NLS is defined only if --disable-nls is
not specified.

Yves

-- 
- Homepage    - http://ymettier.free.fr - http://www.logicacmg.com -
- GPG key     - http://ymettier.free.fr/gpg.txt                    -
- Maitretarot - http://www.nongnu.org/maitretarot/                 -
- Perfparse   - http://perfparse.sf.net/                           -





More information about the Devel mailing list