gettext: AM_XGETTEXT_OPTION
1
1 13.5.6 AM_XGETTEXT_OPTION in ‘po.m4’
1 ------------------------------------
1
1 The ‘AM_XGETTEXT_OPTION’ macro registers a command-line option to be
1 used in the invocations of ‘xgettext’ in the ‘po/’ directories of the
1 package.
1
1 For example, if you have a source file that defines a function
1 ‘error_at_line’ whose fifth argument is a format string, you can use
1 AM_XGETTEXT_OPTION([--flag=error_at_line:5:c-format])
1 to instruct ‘xgettext’ to mark all translatable strings in ‘gettext’
1 invocations that occur as fifth argument to this function as ‘c-format’.
1
1 See ⇒xgettext Invocation for the list of options that
1 ‘xgettext’ accepts.
1
1 The use of this macro is an alternative to the use of the
1 ‘XGETTEXT_OPTIONS’ variable in ‘po/Makevars’.
1