view modules/unistr/u16-strchr-tests @ 15053:d8eeaab555f5

mktime: Respect rules for use of AC_LIBOBJ. * m4/mktime.m4 (AC_FUNC_MKTIME): Remove macro. (gl_FUNC_MKTIME): Inline it here. Set gl_cv_func_working_mktime. Move AC_LIBOBJ and gl_PREREQ_MKTIME invocations from here... (gl_FUNC_MKTIME_INTERNAL): ... and here... * modules/mktime (configure.ac): ... to here. * modules/mktime-internal (configure.ac): ... and here. * m4/timegm.m4 (gl_FUNC_TIMEGM): Update.
author Bruno Haible <bruno@clisp.org>
date Sat, 21 May 2011 16:14:17 +0200
parents fc90387175d8
children
line wrap: on
line source

Files:
tests/unistr/test-u16-strchr.c
tests/unistr/test-strchr.h
tests/zerosize-ptr.h
tests/macros.h
m4/mmap-anon.m4

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

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

Makefile.am:
TESTS += test-u16-strchr
check_PROGRAMS += test-u16-strchr
test_u16_strchr_SOURCES = unistr/test-u16-strchr.c
test_u16_strchr_LDADD = $(LDADD) $(LIBUNISTRING)