New module 'system-posix'.
authorBruno Haible <bruno@clisp.org>
Sat, 2 Oct 2010 09:44:20 +0000 (11:44 +0200)
committerBruno Haible <bruno@clisp.org>
Sat, 2 Oct 2010 09:44:20 +0000 (11:44 +0200)
commit479f291727987aeda01eb0554f5e9b28c7a9ce0b
tree5e258929d4b59218b59462ae97c8d91ed2edc928
parenta88d2561c2cdb9bde56bec1c858a5f64c6ad28c0
New module 'system-posix'.

* modules/system-posix: New file.
* lib/stdlib.in.h: Include <sys/wait.h> only when the 'system-posix'
module is present.
* m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize
GNULIB_SYSTEM_POSIX.
* modules/stdlib (Depends-on): Remove sys_wait.
(Makefile.am): Substitute GNULIB_SYSTEM_POSIX.
* doc/posix-functions/system.texi: Mention the new module.
* doc/posix-headers/stdlib.texi: Likewise.
* tests/test-stdlib.c: If GNULIB_TEST_SYSTEM_POSIX is not defined,
define test_sys_wait_macros to a no-op.
Reported by Sam Steingold <sds@gnu.org>.
ChangeLog
doc/posix-functions/system.texi
doc/posix-headers/stdlib.texi
lib/stdlib.in.h
m4/stdlib_h.m4
modules/stdlib
modules/system-posix [new file with mode: 0644]
tests/test-stdlib.c