maintainer-makefile: Prohibit BSD4.3/SysV u_char etc types.
[gnulib.git] / modules / hard-locale-tests
blobe4bc65a2564f2b49d02cd9c4ba8990f40766ee21
1 Files:
2 tests/test-hard-locale.c
3 tests/locale.c
4 m4/musl.m4
6 Depends-on:
8 configure.ac:
9 gl_MUSL_LIBC
10 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
11 gl_CHECK_FUNCS_ANDROID([duplocale], [[#include <locale.h>]])
13 Makefile.am:
14 TESTS += test-hard-locale
15 check_PROGRAMS += test-hard-locale
16 test_hard_locale_LDADD = $(LDADD) $(SETLOCALE_LIB) @HARD_LOCALE_LIB@
17 # We cannot call this program 'locale', because the C++ compiler on Mac OS X
18 # would then barf upon '#include <locale>'. So, call it 'current-locale'.
19 noinst_PROGRAMS += current-locale
20 current_locale_SOURCES = locale.c