manpagez: man pages & more
info gettext
Home | html | info | man
[ << ] [ < ] [ Up ] [ > ] [ >> ]         [Top] [Contents] [Index] [ ? ]

13.5.3 AM_GNU_GETTEXT_NEED in ‘gettext.m4

The AM_GNU_GETTEXT_NEED macro declares a constraint regarding the GNU gettext implementation. The syntax is

AM_GNU_GETTEXT_NEED([needsymbol])

If needsymbol is ‘need-ngettext’, then GNU gettext implementations (in libc or libintl) without the ngettext() function will be ignored. If needsymbol is ‘need-formatstring-macros’, then GNU gettext implementations that don’t support the ISO C 99 ‘<inttypes.h>’ formatstring macros will be ignored.

The optional second argument of AM_GNU_GETTEXT is also taken into account.

The AM_GNU_GETTEXT_NEED invocations can occur before or after the AM_GNU_GETTEXT invocation; the order doesn’t matter.


This document was generated on June 7, 2014 using texi2html 5.0.

© manpagez.com 2000-2025
Individual documents may contain additional copyright information.