manpagez: man pages & more
info gettext
Home | html | info | man

File: gettext.info,  Node: AM_GNU_GETTEXT_NEED,  Next: AM_PO_SUBDIRS,  Prev: AM_GNU_GETTEXT_VERSION,  Up: autoconf macros

14.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 ‘’
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.

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