Mercurial > hg > octave-nkf > gnulib-hg
view modules/tsearch-tests @ 13745:6328b8d2c617
Separate the module 'waitpid' from the module 'sys_wait'.
* lib/sys_wait.in.h (waitpid): Declare only if the 'waitpid' module is
present.
* m4/sys_wait_h.m4 (gl_SYS_WAIT_MODULE_INDICATOR): Invoke
gl_MODULE_INDICATOR_FOR_TESTS.
(gl_SYS_WAIT_H_DEFAULTS): Initialize GNULIB_WAITPID.
* modules/sys_wait (Depends-on): Remove waitpid.
(Makefile.am): Substitute GNULIB_WAITPID.
* modules/waitpid (configure.ac): Invoke gl_SYS_WAIT_MODULE_INDICATOR.
* tests/test-sys_wait-c++.cc (GNULIB_NAMESPACE::waitpid): Check the
signature only if the 'waitpid' module is present.
* doc/posix-functions/waitpid.texi: Mention the 'waitpid' module.
* NEWS: Mention the change.
* modules/grantpt (Depends-on): Add waitpid.
* modules/wait-process (Depends-on): Likewise.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Wed, 29 Sep 2010 16:14:55 +0200 |
parents | 1e26f884665f |
children |
line wrap: on
line source
Files: tests/test-tsearch.sh tests/test-tsearch.c tests/signature.h Depends-on: stdint configure.ac: TEST_TSEARCH_LIBM= AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#ifndef __NO_MATH_INLINES # define __NO_MATH_INLINES 1 /* for glibc */ #endif #include <math.h> double x;]], [[x = log (x);]])], [], [TEST_TSEARCH_LIBM=-lm]) AC_SUBST([TEST_TSEARCH_LIBM]) AC_CHECK_FUNCS_ONCE([initstate]) Makefile.am: TESTS += test-tsearch.sh check_PROGRAMS += test-tsearch test_tsearch_LDADD = $(LDADD) @TEST_TSEARCH_LIBM@