diff options
author | Bruno Haible <bruno@clisp.org> | 2018-12-18 09:59:41 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-12-18 09:59:41 +0100 |
commit | 0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3 (patch) | |
tree | 109c837f9a3d434b2c83f06e4cdf8efea4d4dd15 /modules/duplocale-tests | |
parent | 55e1fc818eed5ce14c76e366685e29b163f23684 (diff) | |
download | gnulib-0d6e3307bbdb8df4d56043d5f373eeeffe4cbef3.tar.gz |
duplocale: Avoid test failure on AIX 7.
* modules/duplocale-tests (Files): Add m4/intl-thread-locale.m4.
(configure.ac): Invoke gt_FUNC_USELOCALE.
* tests/test-duplocale.c: Test HAVE_WORKING_USELOCALE instead of
HAVE_USELOCALE. Assume that nl_langinfo_l only works when uselocale
works.
Diffstat (limited to 'modules/duplocale-tests')
-rw-r--r-- | modules/duplocale-tests | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/duplocale-tests b/modules/duplocale-tests index baa9a63102..29b2a1a02d 100644 --- a/modules/duplocale-tests +++ b/modules/duplocale-tests @@ -2,13 +2,15 @@ Files: tests/test-duplocale.c tests/signature.h tests/macros.h +m4/intl-thread-locale.m4 Depends-on: langinfo configure.ac: -AC_CHECK_FUNCS_ONCE([duplocale uselocale strfmon_l snprintf_l nl_langinfo_l]) +AC_CHECK_FUNCS_ONCE([duplocale strfmon_l snprintf_l nl_langinfo_l]) AC_CHECK_HEADERS_ONCE([monetary.h]) +gt_FUNC_USELOCALE Makefile.am: TESTS += test-duplocale |