| Line 4... |
Line 4... |
| 4 |
## longdouble.m4 longlong.m4 nls.m4 printf-posix.m4 progtest.m4
|
4 |
## longdouble.m4 longlong.m4 nls.m4 printf-posix.m4 progtest.m4
|
| 5 |
## size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 visibility.m4
|
5 |
## size_max.m4 stdint_h.m4 uintmax_t.m4 ulonglong.m4 visibility.m4
|
| 6 |
## wchar_t.m4 wint_t.m4 xsize.m4 > .../m4/gettext.m4
|
6 |
## wchar_t.m4 wint_t.m4 xsize.m4 > .../m4/gettext.m4
|
| 7 |
|
7 |
|
| 8 |
## 2022-09-28 modify to have prototypes, for clang 15.
|
8 |
## 2022-09-28 modify to have prototypes, for clang 15.
|
| - |
|
9 |
## 2025-03-09 test with macOS libs for external libiconv too.
|
| 9 |
|
10 |
|
| 10 |
## Then disable testing for libiconv prefix
|
11 |
## Then disable testing for libiconv prefix
|
| 11 |
|
12 |
|
| 12 |
# gettext.m4 serial 59 (gettext-0.16.1)
|
13 |
# gettext.m4 serial 59 (gettext-0.16.1)
|
| 13 |
dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
|
14 |
dnl Copyright (C) 1995-2006 Free Software Foundation, Inc.
|
| Line 197... |
Line 198... |
| 197 |
"C"
|
198 |
"C"
|
| 198 |
#endif
|
199 |
#endif
|
| 199 |
const char *_nl_expand_alias (const char *);]], [[bindtextdomain ("", "");
|
200 |
const char *_nl_expand_alias (const char *);]], [[bindtextdomain ("", "");
|
| 200 |
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")]])],[eval "$gt_func_gnugettext_libintl=yes"],[eval "$gt_func_gnugettext_libintl=no"])
|
201 |
return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")]])],[eval "$gt_func_gnugettext_libintl=yes"],[eval "$gt_func_gnugettext_libintl=no"])
|
| 201 |
dnl Now see whether libintl exists and depends on libiconv.
|
202 |
dnl Now see whether libintl exists and depends on libiconv.
|
| - |
|
203 |
dnl OS dependent libraries, specifically on macOS.
|
| - |
|
204 |
gt_LIBINTL_EXTRA="$INTL_MACOSX_LIBS"
|
| 202 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
|
205 |
if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } \
|
| - |
|
206 |
&& { test -n "$LIBICONV" || test -n "$gt_LIBINTL_EXTRA"; }; then
|
| 203 |
LIBS="$LIBS $LIBICONV"
|
207 |
LIBS="$LIBS $LIBICONV $gt_LIBINTL_EXTRA"
|
| 204 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libintl.h>
|
208 |
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <libintl.h>
|
| 205 |
$gt_revision_test_code
|
209 |
$gt_revision_test_code
|
| 206 |
extern int _nl_msg_cat_cntr;
|
210 |
extern int _nl_msg_cat_cntr;
|
| 207 |
extern
|
211 |
extern
|
| 208 |
#ifdef __cplusplus
|
212 |
#ifdef __cplusplus
|