diff options
author | Bruno Haible <bruno@clisp.org> | 2010-10-02 11:44:20 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2010-10-02 11:44:20 +0200 |
commit | 479f291727987aeda01eb0554f5e9b28c7a9ce0b (patch) | |
tree | 5e258929d4b59218b59462ae97c8d91ed2edc928 /modules/stdlib | |
parent | a88d2561c2cdb9bde56bec1c858a5f64c6ad28c0 (diff) | |
download | gnulib-479f291727987aeda01eb0554f5e9b28c7a9ce0b.tar.gz |
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>.
Diffstat (limited to 'modules/stdlib')
-rw-r--r-- | modules/stdlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/stdlib b/modules/stdlib index f822aa3ebe..3392c8df30 100644 --- a/modules/stdlib +++ b/modules/stdlib @@ -11,7 +11,6 @@ c++defs include_next stddef stdint -sys_wait unistd warn-on-use @@ -52,6 +51,7 @@ stdlib.h: stdlib.in.h $(CXXDEFS_H) $(ARG_NONNULL_H) $(WARN_ON_USE_H) -e 's|@''GNULIB_STRTOD''@|$(GNULIB_STRTOD)|g' \ -e 's|@''GNULIB_STRTOLL''@|$(GNULIB_STRTOLL)|g' \ -e 's|@''GNULIB_STRTOULL''@|$(GNULIB_STRTOULL)|g' \ + -e 's|@''GNULIB_SYSTEM_POSIX''@|$(GNULIB_SYSTEM_POSIX)|g' \ -e 's|@''GNULIB_UNLOCKPT''@|$(GNULIB_UNLOCKPT)|g' \ -e 's|@''GNULIB_UNSETENV''@|$(GNULIB_UNSETENV)|g' \ -e 's|@''HAVE__EXIT''@|$(HAVE__EXIT)|g' \ |