summaryrefslogtreecommitdiff
path: root/modules/duplocale-tests
blob: 77295bb38a19a71feb5a49ac33027afbedf170d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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([strfmon_l snprintf_l])
gl_CHECK_FUNCS_ANDROID([duplocale], [[#include <locale.h>]])
gl_CHECK_FUNCS_ANDROID([nl_langinfo_l], [[#include <langinfo.h>]])
AC_CHECK_HEADERS_ONCE([monetary.h])
gt_FUNC_USELOCALE

Makefile.am:
TESTS += test-duplocale
check_PROGRAMS += test-duplocale
test_duplocale_LDADD = $(LDADD) $(SETLOCALE_LIB) @DUPLOCALE_LIB@