Add a link warning when the 'select' module is not used.
[gnulib.git] / ChangeLog
index 4f4f35c..052772a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,87 @@
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/sys_select.in.h: Include the GL_LINK_WARNING definition.
+       (select): Add a link warning when the 'select' module is not used.
+       * modules/sys_select (Depends-on): Add link-warning.
+       (Makefile.am): Substitute the definition of GL_LINK_WARNING.
+       Suggested by Paolo Bonzini.
+
+2008-10-05  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for LT_INIT more portably
+       * build-aux/bootstrap: Avoid using grep -E, since it's not
+       portable enough.  Suggestion from Bruno Haible.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * doc/posix-headers/sys_select.texi: Mention 'struct timeval' problem
+       as being fixed by gnulib.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/select-tests: New file, mostly copied from
+       modules/sys_select-tests.
+       * tests/test-select.c: New file, mostly copied from
+       tests/test-sys_select.c.
+       * tests/test-sys_select.c: Move most of the code to tests/test-select.c.
+       * modules/sys_select-tests (Depends-on): Remove all dependencies.
+       (Makefile.am): Remove test_sys_select_LDADD.
+
+       * lib/sys_select.in.h (select): If GNULIB_SELECT is not set, define it
+       to an undefined symbol, for an error message.
+       * m4/sys_select_h.m4 (gl_SYS_SELECT_MODULE_INDICATOR): New macro.
+       (gl_SYS_SELECT_H_DEFAULTS): New macro.
+       (gl_HEADER_SYS_SELECT): Require it. Don't require compilation of
+       winsock-select.c here.
+       * modules/sys_select (Files): Remove lib/winsock-select.c.
+       (Depends-on): Remove alloca.
+       (Makefile.am): Substitute GNULIB_SELECT.
+       * modules/select: New file.
+       * doc/posix-functions/select.texi: Update.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawn_faction_addclose.c (__sysconf): Use getdtablesize always.
+       * lib/spawn_faction_adddup2.c (__sysconf): Likewise.
+       * lib/spawn_faction_addopen.c (__sysconf): Likewise.
+       * modules/posix_spawn_file_actions_addclose (Depends-on): Add
+       getdtablesize.
+       * modules/posix_spawn_file_actions_adddup2 (Depends-on): Likewise.
+       * modules/posix_spawn_file_actions_addopen (Depends-on): Likewise.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/getdtablesize-tests: New file.
+       * tests/test-getdtablesize.c: New file.
+
+       New module 'getdtablesize'.
+       * lib/unistd.in.h (getdtablesize): New declaration.
+       * lib/getdtablesize.c: New file.
+       * m4/getdtablesize.m4: New file.
+       * modules/getdtablesize: New file.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       GNULIB_GETDTABLESIZE, HAVE_GETDTABLESIZE.
+       * modules/unistd (Makefile.am): Substitute GNULIB_GETDTABLESIZE,
+       HAVE_GETDTABLESIZE.
+       * doc/glibc-functions/getdtablesize.texi: Mention the new module.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * modules/sched (Makefile.am): Fix typo.
+       Reported by Simon Josefsson.
+
+2008-10-05  Jim Meyering  <meyering@redhat.com>
+
+       bootstrap: check for LT_INIT, too
+       * build-aux/bootstrap: Both AC_PROG_LIBTOOL and AM_PROG_LIBTOOL
+       are deprecated.  Suggestion from Ralf Wildenhues.
+
+2008-10-05  Bruno Haible  <bruno@clisp.org>
+
+       * lib/spawn.in.h (POSIX_SPAWN_*): Use the system's values, rather than
+       overriding them by ours.
+       (POSIX_SPAWN_USEVFORK): Use the next free bit position.
+
 2008-10-05  Jim Meyering  <meyering@redhat.com>
 
        bootstrap: check for AC_PROG_LIBTOOL as well as AM_PROG_LIBTOOL