Lines Matching +full:- +full:- +full:yes
1 # gettext.m4 serial 70 (gettext-0.20)
2 dnl Copyright (C) 1995-2014, 2016, 2018 Free Software Foundation, Inc.
17 dnl Ulrich Drepper <drepper@cygnus.com>, 1995-2000.
18 dnl Bruno Haible <haible@clisp.cons.org>, 2000-2006, 2008-2010.
23 dnl INTLSYMBOL must be one of 'external', 'use-libtool'.
25 dnl 'use-libtool' for the packages 'gettext-runtime' and 'gettext-tools'.
26 dnl If INTLSYMBOL is 'use-libtool', then a libtool library
28 dnl depending on --{enable,disable}-{shared,static} and on the presence of
29 dnl AM-DISABLE-SHARED).
30 dnl If NEEDSYMBOL is specified and is 'need-ngettext', then GNU gettext
33 dnl 'need-formatstring-macros', then GNU gettext implementations that don't
41 dnl Catalog format: GNU --> install in $(datadir)
44 dnl Catalog format: GNU --> install in $(datadir)
58 ifelse([$1], [], , [ifelse([$1], [external], , [ifelse([$1], [use-libtool], ,
61 ifelse(ifelse([$1], [], [old])[]ifelse([$1], [no-libtool], [old]), [old],
64 ifelse([$2], [], , [ifelse([$2], [need-ngettext], , [ifelse([$2], [need-formatstring-macros], ,
68 ifelse([$1], [external], [no], [yes]))
73 ifelse(gt_included_intl, yes, [
83 dnl if test "$USE_NLS" = "yes"; then
84 dnl if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
88 dnl - Invoke AM_ICONV_LINKFLAGS_BODY here, outside any 'if'.
89 dnl - Control the expansions in more detail using AC_PROVIDE_IFELSE.
91 ifelse(gt_included_intl, yes, , [
101 ifelse(gt_included_intl, yes, [
111 *" need-formatstring-macros "*) gt_api_version=3 ;;
112 *" need-ngettext "*) gt_api_version=2 ;;
119 if test "$USE_NLS" = "yes"; then
121 ifelse(gt_included_intl, yes, [
123 AC_ARG_WITH([included-gettext],
124 [ --with-included-gettext use the GNU gettext library included here],
130 if test "$nls_cv_force_use_gnu_gettext" != "yes"; then
136 if test $gt_api_version -ge 3; then
139 #define __GNU_GETTEXT_SUPPORTED_REVISION(major) ((major) == 0 ? 0 : -1)
142 typedef int array [2 * (__GNU_GETTEXT_SUPPORTED_REVISION(0) >= 1) - 1];
148 if test $gt_api_version -ge 2; then
172 [eval "$gt_func_gnugettext_libc=yes"],
175 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" != "yes"; }; then
177 ifelse(gt_included_intl, yes, , [
182 dnl because that would add "-liconv" to LIBINTL and LTLIBINTL
213 [eval "$gt_func_gnugettext_libintl=yes"],
216 …if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV";…
241 eval "$gt_func_gnugettext_libintl=yes"
252 if { eval "gt_val=\$$gt_func_gnugettext_libc"; test "$gt_val" = "yes"; } \
253 || { { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; } \
254 && test "$PACKAGE" != gettext-runtime \
255 && test "$PACKAGE" != gettext-tools; }; then
256 gt_use_preinstalled_gnugettext=yes
264 ifelse(gt_included_intl, yes, [
265 if test "$gt_use_preinstalled_gnugettext" != "yes"; then
268 nls_cv_use_gnu_gettext=yes
272 if test "$nls_cv_use_gnu_gettext" = "yes"; then
274 BUILD_INCLUDED_LIBINTL=yes
275 USE_INCLUDED_LIBINTL=yes
278 LIBS=`echo " $LIBS " | sed -e 's/ -lintl / /' -e 's/^ //' -e 's/ $//'`
282 if test "$gt_use_preinstalled_gnugettext" = "yes" \
283 || test "$nls_cv_use_gnu_gettext" = "yes"; then
289 if test -n "$INTL_MACOSX_LIBS"; then
290 if test "$gt_use_preinstalled_gnugettext" = "yes" \
291 || test "$nls_cv_use_gnu_gettext" = "yes"; then
298 if test "$gt_use_preinstalled_gnugettext" = "yes" \
299 || test "$nls_cv_use_gnu_gettext" = "yes"; then
310 if test "$USE_NLS" = "yes"; then
312 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
313 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
324 if test "$USE_NLS" = "yes"; then
326 if test "$gt_use_preinstalled_gnugettext" = "yes"; then
327 if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" = "yes"; }; then
344 ifelse(gt_included_intl, yes, [
345 dnl In GNU gettext we have to set BUILD_INCLUDED_LIBINTL to 'yes'
347 BUILD_INCLUDED_LIBINTL=yes
381 dnl Usage: AM_GNU_GETTEXT_VERSION([gettext-version])
385 dnl Usage: AM_GNU_GETTEXT_REQUIRE_VERSION([gettext-version])