Separate the module 'waitpid' from the module 'sys_wait'.
authorBruno Haible <bruno@clisp.org>
Wed, 29 Sep 2010 14:14:55 +0000 (16:14 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 29 Sep 2010 14:14:55 +0000 (16:14 +0200)
commit77a06aac2187e2ea13e5b7aa8e30d46a81ca45f8
treec6cc460b59e65c996ac94255b6dd248fc4e2dcb8
parent2612f28100d92eef019a41396bcf68f598812036
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.
ChangeLog
NEWS
doc/posix-functions/waitpid.texi
lib/sys_wait.in.h
m4/sys_wait_h.m4
modules/grantpt
modules/sys_wait
modules/wait-process
modules/waitpid
tests/test-sys_wait-c++.cc