2 tests/test-hard-locale.c
10 dnl Distinguish OpenBSD >= 6.2 from OpenBSD < 6.2.
11 gl_CHECK_FUNCS_ANDROID([duplocale], [[#include <locale.h>]])
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