Lines Matching refs:gettext
1 # gettext.m4 serial 28 (gettext-0.13)
11 dnl License but which still want to provide support for the GNU gettext
13 dnl Please note that the actual code of the GNU gettext library is covered
15 dnl gettext package package is covered by the GNU General Public License.
22 dnl Macro to add for using GNU gettext.
34 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
37 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
43 dnl 1) GNU gettext, as included in the intl subdirectory, will be compiled
47 dnl 2) GNU gettext has been found in the system's C library.
55 dnl GNU format catalogs when building on a platform with an X/Open gettext),
110 AC_MSG_CHECKING([whether included gettext is requested])
111 AC_ARG_WITH(included-gettext,
112 [ --with-included-gettext use the GNU gettext library included here],
121 dnl to use. If GNU gettext is available we use this. Else we have
129 AC_CACHE_CHECK([for GNU gettext in libc], gt_cv_func_gnugettext_libc,
141 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl…
155 AC_CACHE_CHECK([for GNU gettext in libintl],
177 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl…
198 return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl…
208 dnl If an already present or preinstalled GNU gettext() is found,
209 dnl use it. But if this macro is used in GNU gettext, and GNU
210 dnl gettext is already preinstalled in libintl, we update this
214 && test "$PACKAGE" != gettext-runtime \
215 && test "$PACKAGE" != gettext-tools; }; then
226 dnl GNU gettext is not found in the C library.
227 dnl Fall back on included GNU gettext library.
243 dnl Mark actions to use GNU gettext tools.
261 AC_MSG_CHECKING([where the gettext function comes from])
285 [Define if the GNU gettext() function is already present or preinstalled.])
295 dnl If this is used in GNU gettext we have to set BUILD_INCLUDED_LIBINTL
297 if test "$PACKAGE" = gettext-runtime || test "$PACKAGE" = gettext-tools; then
486 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])