view modules/duplocale-tests @ 40044:74054cd6d907

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.
author Bruno Haible <bruno@clisp.org>
date Tue, 18 Dec 2018 09:59:41 +0100
parents 189d600a9236
children
line wrap: on
line source

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 strfmon_l snprintf_l nl_langinfo_l])
AC_CHECK_HEADERS_ONCE([monetary.h])
gt_FUNC_USELOCALE

Makefile.am:
TESTS += test-duplocale
check_PROGRAMS += test-duplocale