summaryrefslogtreecommitdiff
path: root/modules/memchr2-tests
blob: cbd9cd22d0726da7252a0e12a372ad60e302e4c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Files:
tests/test-memchr2.c
tests/zerosize-ptr.h
tests/macros.h
m4/mmap-anon.m4

Depends-on:
c99
extensions
getpagesize

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

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