getsubopt.h is replaced with <stdlib.h>.
[pspp] / ChangeLog
index 2af3466070fe054fd8b98245dd9ee651143341ab..947bb9e5ce39fe5cccbc96c1f2227a1154aca455 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,76 @@
+2007-02-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib_.h (getsubopt): New declaration, copied from getsubopt.h.
+       * modules/stdlib (stdlib.h): Also substitute GNULIB_GETSUBOPT and
+       HAVE_GETSUBOPT.
+       * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Also initialize
+       GNULIB_GETSUBOPT and HAVE_GETSUBOPT.
+       * lib/getsubopt.h: Remove file.
+       * modules/getsubopt (Files): Remove lib/getsubopt.h.
+       (Depends-on): Add stdlib.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Includes): Use <stdlib.h> instead of getsubopt.h.
+       * m4/getsubopt.m4 (gl_FUNC_GETSUBOPT): Require gl_STDLIB_H_DEFAULTS.
+       Set HAVE_GETSUBOPT.
+       * lib/getsubopt.c: Don't include getsubopt.h.
+
+2007-02-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/fchdir (Depends-on): Add dup2.
+
+2007-02-18  Bruno Haible  <bruno@clisp.org>
+
+       * lib/stdlib_.h: Handle glibc's special invocation convention
+       specially.
+
+2007-02-18  Bruno Haible  <bruno@clisp.org>
+
+       * modules/stdlib-tests: New file.
+       * tests/test-stdlib.c: New file.
+
+       * modules/mkstemp (Files): Remove lib/mkstemp.h.
+       (Depends-on): Add stdlib.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Includes): Use <stdlib.h> instead of mkstemp.h.
+       * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Require gl_STDLIB_H_DEFAULTS. Set
+       REPLACE_MKSTEMP. Remove definition of __MKSTEMP_PREFIX.
+       * lib/mkstemp.c: Don't include mkstemp.h.
+       * lib/mkstemp-safer.c: Include <stdlib.h> instead of mkstemp.h.
+       * lib/stdlib--.h: Don't include mkstemp.h.
+
+       * modules/mkdtemp (Files): Remove lib/mkdtemp.h.
+       (Depends-on): Add stdlib.
+       (configure.ac): Invoke gl_STDLIB_MODULE_INDICATOR.
+       (Includes): Use <stdlib.h> instead of mkdtemp.h.
+       * m4/mkdtemp.m4 (gt_FUNC_MKDTEMP): Require gl_STDLIB_H_DEFAULTS. Set
+       HAVE_MKDTEMP.
+       * lib/mkdtemp.c: Don't include mkdtemp.h.
+       * lib/clean-temp.c: Don't include mkdtemp.h.
+
+       * modules/exit (Files): Remove lib/exit.h.
+       (Depends-on): Add stdlib.
+       (Makefile.am): Remove lib_SOURCES.
+       (Include): Use <stdlib.h> instead of exit.h.
+       * lib/argmatch.c: Don't include exit.h.
+       * lib/execute.c: Likewise.
+       * lib/pagealign_alloc.c: Likewise.
+       * lib/pipe.c: Likewise.
+       * lib/wait-process.c: Likewise.
+       * lib/copy-file.c: Include <stdlib.h> instead of exit.h.
+       * lib/exitfail.c: Likewise.
+       * lib/savewd.c: Likewise.
+       * lib/xsetenv.c: Likewise.
+
+
+       * modules/stdlib: New file.
+       * lib/stdlib_.h: New file, incorporating exit.h, mkdtemp.h, mkstemp.h
+       and extra comments about mkstemp().
+       * lib/exit.h: Remove file.
+       * lib/mkdtemp.h: Remove file.
+       * lib/mkstemp.h: Remove file.
+       * m4/stdlib_h.m4: New file.
+       * MODULES.html.sh (Support for systems lacking ANSI C 89): Add stdlib.
+
 2007-02-18  Bruno Haible  <bruno@clisp.org>
 
        * modules/math-tests: New file.