• Home
  • Raw
  • Download

Lines Matching refs:gettext

1 # gettext.m4 serial 62 (gettext-0.18)
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),
125 AC_MSG_CHECKING([whether included gettext is requested])
126 AC_ARG_WITH([included-gettext],
127 [ --with-included-gettext use the GNU gettext library included here],
136 dnl to use. If GNU gettext is available we use this. Else we have
157 AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
163 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
177 AC_CACHE_CHECK([for GNU gettext in libintl],
193 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
208 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
218 dnl If an already present or preinstalled GNU gettext() is found,
219 dnl use it. But if this macro is used in GNU gettext, and GNU
220 dnl gettext is already preinstalled in libintl, we update this
224 && test "$PACKAGE" != gettext-runtime \
225 && test "$PACKAGE" != gettext-tools; }; then
236 dnl GNU gettext is not found in the C library.
237 dnl Fall back on included GNU gettext library.
254 dnl Mark actions to use GNU gettext tools.
281 AC_MSG_CHECKING([where the gettext function comes from])
305 [Define if the GNU gettext() function is already present or preinstalled.])
315 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
317 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
380 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])