Lines Matching refs:gettext
1 # gettext.m4 serial 66 (gettext-0.18.2)
9 dnl License but which still want to provide support for the GNU gettext
11 dnl Please note that the actual code of the GNU gettext library is covered
13 dnl gettext package package is covered by the GNU General Public License.
20 dnl Macro to add for using GNU gettext.
32 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
35 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
41 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
45 dnl 2) GNU gettext has been found in the system's C library.
53 dnl GNU format catalogs when building on a platform with an X/Open gettext),
127 AC_MSG_CHECKING([whether included gettext is requested])
128 AC_ARG_WITH([included-gettext],
129 [ --with-included-gettext use the GNU gettext library included here],
138 dnl to use. If GNU gettext is available we use this. Else we have
159 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
170 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
185 AC_CACHE_CHECK([for GNU gettext in libintl],
206 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
227 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
238 dnl If an already present or preinstalled GNU gettext() is found,
239 dnl use it. But if this macro is used in GNU gettext, and GNU
240 dnl gettext is already preinstalled in libintl, we update this
244 && test "$PACKAGE" != gettext-runtime \
245 && test "$PACKAGE" != gettext-tools; }; then
256 dnl GNU gettext is not found in the C library.
257 dnl Fall back on included GNU gettext library.
274 dnl Mark actions to use GNU gettext tools.
301 AC_MSG_CHECKING([where the gettext function comes from])
325 [Define if the GNU gettext() function is already present or preinstalled.])
335 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
337 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
400 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])