summaryrefslogtreecommitdiff
path: root/gnulib/modules/unistr/u8-strchr-tests
blob: bbecc7f8f3b73bf544299e81b7b498d6b8848e2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
Files:
tests/unistr/test-u8-strchr.c
tests/unistr/test-strchr.h
tests/zerosize-ptr.h
tests/macros.h
m4/mmap-anon.m4

Depends-on:
extensions
getpagesize
unistr/u8-set
unistr/u32-set
unistr/u32-to-u8

configure.ac:
gl_FUNC_MMAP_ANON
AC_CHECK_HEADERS_ONCE([sys/mman.h])
AC_CHECK_FUNCS_ONCE([mprotect])

Makefile.am:
TESTS += test-u8-strchr
check_PROGRAMS += test-u8-strchr
test_u8_strchr_SOURCES = unistr/test-u8-strchr.c
test_u8_strchr_LDADD = $(LDADD) $(LIBUNISTRING)