summaryrefslogtreecommitdiff
path: root/modules/waitpid
Commit message (Collapse)AuthorAgeFilesLines
* waitpid: Move AC_LIBOBJ invocations to module description.Bruno Haible2011-06-161-0/+3
| | | | | | * m4/waitpid.m4 (gl_FUNC_WAITPID): Set HAVE_WAITPID. Move AC_LIBOBJ invocation from here... * modules/waitpid (configure.ac): ... to here.
* Separate the module 'waitpid' from the module 'sys_wait'.Bruno Haible2010-09-291-0/+1
| | | | | | | | | | | | | | | | | * 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.
* New module 'waitpid'.Bruno Haible2010-09-291-0/+23
* lib/waitpid.c: New file, extracted from lib/sys_wait.in.h. * lib/sys_wait.in.h: Include <sys/types.h>, c++defs.h, warn-on-use.h. Don't include <process.h>. (waitpid): Declare only, using modern idiom. * m4/waitpid.m4: New file. * m4/sys_wait_h.m4 (gl_SYS_WAIT_H): Check whether waitpid is declared. * modules/waitpid: New file. * modules/sys_wait (Depends-on): Add c++defs, warn-on-use, waitpid. (Makefile.am): Update. Reported by Tatsuro MATSUOKA <tmacchant5@yahoo.co.jp>.