maint.mk (sc_Wundef_boolean): Skip test if no config.h.
[gnulib.git] / ChangeLog
index c8c367c..bbfecf9 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,598 @@
+2010-03-23  Pádraig Brady <P@draigBrady.com>  (tiny change)
+
+       * maint.mk (sc_Wundef_boolean): Check for the presence of the
+       config header before grepping, as it's not present before
+       autoreconf/configure are run.  Reported by Simon Josefsson.
+
+2010-03-23  Bruno Haible  <bruno@clisp.org>
+
+       pt_chown: Make it work with automake < 1.11.
+       * modules/pt_chown (Makefile.am): Define pkglibexecdir.
+       Reported by Simon Josefsson.
+
+2010-03-23  Bruno Haible  <bruno@clisp.org>
+
+       pt_chown: Don't depend on GPLed modules.
+       * lib/pt_chown.c: Don't include idpriv.h.
+       (main): Don't drop privileges.
+       * modules/pt_chown (Depends-on): Remove idpriv-drop.
+       Reported by Simon Josefsson.
+
+2010-03-24  Simon Josefsson  <simon@josefsson.org>
+
+       * top/maint.mk (sc_texinfo_acronym): Add rule, based on
+       suggestions from karl@freefriends.org (Karl Berry).
+
+2010-03-22  Eric Blake  <eblake@redhat.com>
+
+       gethostname: further tweaks
+       * lib/unistd.in.h (includes): Only worry about <winsock2.h> if we
+       are overriding gethostname.
+       Suggested by Bruno Haible.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Fix comments.
+       * lib/forkpty.c (rpl_forkpty): Fix comment.
+       * lib/openpty.c (rpl_openpty): Likewise.
+       Reported by Eric Blake.
+
+2010-03-22  Eric Blake  <eblake@redhat.com>
+
+       gethostname: fix build on mingw
+       * lib/unistd.in.h (includes): Work around fact that mingw
+       <winsock2.h> re-includes <unistd.h>, by avoiding any
+       redeclarations if we are being included by <winsock2.h>.
+       Reported by Matthias Bolte.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       forkpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+       * lib/forkpty.c (forkpty): New replacement function, from glibc with
+       modifications.
+       * lib/pty.in.h (forkpty): Update declaration. Add comments.
+       * m4/pty.m4 (gl_FORKPTY): If forkpty is not declared, arrange to
+       provide the replacement.
+       * modules/forkpty (Depends-on): Add openpty, login_tty.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_FORKPTY.
+       * modules/pty (Makefile.am): Substitute HAVE_FORKPTY.
+       * doc/glibc-functions/forkpty.texi: More supported platforms.
+       * config/srclist.txt: Add forkpty.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       * modules/forkpty-tests: Use the common TEMPLATE-TESTS.
+       (Makefile.am): Verify that PTY_LIB is defined.
+
+       * modules/openpty-tests: Use the common TEMPLATE-TESTS.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'login_tty'.
+       * modules/login_tty-tests: New file.
+       * tests/test-login_tty.c: New file.
+
+       New module 'login_tty'.
+       * lib/login_tty.c: New file.
+       * m4/pty.m4 (gl_FUNC_LOGIN_TTY): New macro.
+       * modules/login_tty: New file.
+       * doc/glibc-functions/login_tty.texi: Mention the new module.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       login_tty: Documentation.
+       * doc/glibc-functions/login_tty.texi: New file.
+       * doc/gnulib.texi (Glibc <utmp.h>): Include it.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       pty: Consistent macro naming.
+       * m4/pty_h.m4 (gl_PTY_H): Renamed from gl_PTY.
+       * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): Update.
+       * modules/pty (configure.ac): Update.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for openpty: Make stricter.
+       * tests/test-openpty.c (main): Add test of canonical processing and
+       erase.
+       * modules/openpty-tests (Makefile.am): Verify that PTY_LIB is defined.
+
+       openpty: Provide replacement on AIX, HP-UX, IRIX, Solaris.
+       * lib/openpty.c (openpty): New replacement function.
+       * lib/pty.in.h: Include <termios.h>.
+       (openpty): Update declaration. Add comments.
+       * m4/pty.m4 (gl_OPENPTY): Require AC_USE_SYSTEM_EXTENSIONS. If openpty
+       is not declared, arrange to provide the replacement. Check for _getpty
+       and posix_openpt.
+       * modules/openpty (Depends-on): Add extensions, fcntl-h, ioctl.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Initialize HAVE_OPENPTY.
+       * modules/pty (Makefile.am): Substitute HAVE_OPENPTY.
+       * modules/pty-tests (test_pty_c___LDADD): New variable.
+       * doc/glibc-functions/openpty.texi: More supported platforms.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       setenv: Tweaks.
+       * m4/setenv.m4 (gl_FUNC_SETENV_SEPARATE): Include necessary headers in
+       the test program.
+       * doc/posix-functions/setenv.texi: Update platforms list.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'unlockpt'.
+       * lib/unlockpt.c: New file, from glibc with modifications.
+       * m4/unlockpt.m4: New file.
+       * modules/unlockpt: New file.
+       * lib/stdlib.in.h (unlockpt): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether unlockpt is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_UNLOCKPT, HAVE_UNLOCKPT.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_UNLOCKPT,
+       HAVE_UNLOCKPT.
+       * doc/posix-functions/unlockpt.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::unlockpt.
+       * config/srclist.txt: Add unlockpt.c (commented).
+
+2010-03-21  Jim Meyering  <meyering@redhat.com>
+
+       maint.mk: prohibit inclusion of "intprops.h" without use
+       * top/maint.mk (sc_prohibit_intprops_without_use): New rule.
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'grantpt'.
+       * lib/grantpt.c: New file, from glibc with modifications.
+       * m4/grantpt.m4: New file.
+       * modules/grantpt: New file.
+       * lib/stdlib.in.h (grantpt): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether grantpt is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_GRANTPT, HAVE_GRANTPT.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_GRANTPT,
+       HAVE_GRANTPT.
+       * doc/posix-functions/grantpt.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::grantpt.
+       * config/srclist.txt: Add grantpt.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       New module 'pt_chown'.
+       * lib/pt_chown.c: New file, from glibc with modifications.
+       * lib/pty-private.h: New file, from glibc with modifications.
+       * modules/pt_chown: New file.
+       * config/srclist.txt: Add pt_chown.c, pty-private.h (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'ptsname'.
+       * modules/ptsname-tests: New file.
+       * tests/test-ptsname.c: New file.
+
+       New module 'ptsname'.
+       * lib/ptsname.c: New file, from glibc with modifications.
+       * m4/ptsname.m4: New file.
+       * modules/ptsname: New file.
+       * lib/stdlib.in.h (ptsname): New declaration.
+       * m4/stdlib_h.m4 (gl_STDLIB_H): Check whether ptsname is declared.
+       (gl_STDLIB_H_DEFAULTS): Initialize GNULIB_PTSNAME, HAVE_PTSNAME.
+       * modules/stdlib (Makefile.am): Substitute GNULIB_PTSNAME,
+       HAVE_PTSNAME.
+       * doc/posix-functions/ptsname.texi: Mention the new module.
+       * tests/test-stdlib-c++.cc: Check GNULIB_NAMESPACE::ptsname.
+       * config/srclist.txt: Add ptsname.c (commented).
+
+2010-03-21  Bruno Haible  <bruno@clisp.org>
+
+       Tests for module 'ttyname_r'.
+       * modules/ttyname_r-tests: New file.
+       * tests/test-ttyname_r.c: New file.
+
+       New module 'ttyname_r'.
+       * lib/ttyname_r.c: New file.
+       * m4/ttyname_r.m4: New file.
+       * modules/ttyname_r: New file.
+       * lib/unistd.in.h (ttyname_r): New declaration.
+       * m4/unistd_h.m4 (gl_UNISTD_H): Check whether ttyname_r is declared.
+       (gl_UNISTD_H_DEFAULTS): Initialize GNULIB_TTYNAME_R, HAVE_TTYNAME_R.
+       * modules/unistd (Makefile.am): Substitute GNULIB_TTYNAME_R,
+       HAVE_TTYNAME_R.
+       * tests/test-unistd-c++.cc: Check GNULIB_NAMESPACE::ttyname_r.
+       * doc/posix-functions/ttyname_r.texi: Mention the new module.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       signal: Undefine macro definitions in C++ mode.
+       * lib/signal.in.h (sigismember, sigemptyset, sigaddset, sigdelset,
+       sigfillset): Undefine macro definitions from the system header in C++
+       mode.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Ensure no #include statements inside extern "C" { ... }.
+       * lib/obstack.h: Shrink extern "C" { ... } region so that it does not
+       contain #include statements.
+       * lib/time.in.h: Likewise.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Make _GL_WARN_ON_USE usable in C++ and C mode in the same compilation.
+       * build-aux/warn-on-use.h (_GL_WARN_EXTERN_C): New macro.
+       (_GL_WARN_ON_USE, _GL_WARN_ON_USE_CXX): Likewise.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       * m4/unlink.m4 (gl_FUNC_UNLINK): Fix last commit.
+       Reported by Jim Meyering.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       pipe: Set errno upon failure.
+       * lib/pipe.h: Specify that when -1 is returned, errno is set.
+       * lib/pipe.c (create_pipe): Set errno when returning -1. Use the right
+       errno value in error message.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+            Jim Meyering  <meyering@redhat.com>
+
+       lchown: Avoid "unused variable" warning.
+       * lib/lchown.c (rpl_lchown): Move variable 'st' into #if block.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Work around unlink() bug on MacOS X 10.5.6.
+       * lib/unlink.c (rpl_unlink): If UNLINK_PARENT_BUG is defined, fail when
+       attempting to unlink a parent directory.
+       * m4/unlink.m4 (gl_FUNC_UNLINK): Require AC_CANONICAL_HOST. Test for
+       MacOS X 10.5 bug. If the bug is present, define UNLINK_PARENT_BUG and
+       activate for the replacement function.
+       * doc/posix-functions/unlink.texi: Mention the MacOS X 10.5 bug.
+
+2010-03-20  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on Solaris 8.
+       * modules/dirent-tests (test_dirent_c___LDADD): Add LIB_NANOSLEEP.
+       * modules/wctype-tests (test_wctype_c___LDADD): Likewise.
+
+2010-03-19  Jim Meyering  <meyering@redhat.com>
+
+       regcomp.c: make non-_LIBC implementation of build_range_exp consistent
+       The _LIBC implementation of build_range_exp correctly honors the
+       RE_NO_EMPTY_RANGES flag when checking for reversed range endpoints.
+       However, the non-_LIBC implementation would ignore that syntax-bit
+       flag and return REG_ERANGE unconditionally.
+       This change makes it honor that flag.
+       * lib/regcomp.c (build_range_exp) [!_LIBC]: Add a parameter: "syntax".
+       Make two pointer parameters "const".
+       Use "syntax" bits in order to honor RE_NO_EMPTY_RANGES.
+       (parse_bracket_exp): Update caller.
+
+       regex.m4: correct the reversed range endpoint ([b-a]) test
+       * m4/regex.m4: When requiring that [b-a] evoke failure,
+       use RE_NO_EMPTY_RANGES.  This makes this entire configure-time
+       test pass once again for x86-based systems.
+
+2010-03-19  Bruno Haible  <bruno@clisp.org>
+
+       scandir: Fix link error on Solaris 8.
+       * lib/scandir.c (_D_EXACT_NAMLEN, _D_ALLOC_NAMLEN): New fallback
+       macros.
+
+2010-03-19  Bruno Haible  <bruno@clisp.org>
+
+       getusershell: Fix documentation.
+       * doc/glibc-functions/endusershell.texi: Refer to the getusershell
+       module.
+       * doc/glibc-functions/setusershell.texi: Likewise.
+
+       getusershell: Provide declaration, missing on Solaris 9.
+       * lib/unistd.in.h (getusershell, setusershell, endusershell): Declare
+       also if HAVE_GETUSERSHELL && !HAVE_DECL_GETUSERSHELL.
+       * m4/getusershell.m4 (gl_FUNC_GETUSERSHELL): When the function exists,
+       check whether it is declared. Set HAVE_DECL_GETUSERSHELL.
+       * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+       HAVE_DECL_GETUSERSHELL, not HAVE_GETUSERSHELL.
+       * modules/unistd (Makefile.am): Substitute HAVE_DECL_GETUSERSHELL, not
+       HAVE_GETUSERSHELL.
+       * doc/glibc-functions/getusershell.texi: Mention the Solaris problem.
+
+2010-03-19  Bruno Haible  <bruno@clisp.org>
+
+       wctype: Provide iswblank function.
+       * lib/wctype.in.h (iswblank): Provide a replacement also when iswcntrl
+       exists and is fine.
+       * m4/wctype_h.m4 (gl_WCTYPE_H): Also check whether iswcntrl exists.
+       * modules/wctype (Makefile.am): Substitute HAVE_ISWBLANK.
+       * tests/test-wctype.c (main): Re-enable the iswblank tests.
+       * doc/posix-functions/iswblank.texi: Update.
+
+2010-03-19  Bruno Haible  <bruno@clisp.org>
+
+       Tests of module 'pty' in C++ mode.
+       * modules/pty-tests: New file.
+       * tests/test-pty-c++.cc: New file.
+       * m4/pty_h.m4 (gl_PTY_MODULE_INDICATOR): Invoke gl_MODULE_INDICATOR.
+
+2010-03-19  Eric Blake  <eblake@redhat.com>
+
+       logb: fix documentation
+       * doc/posix-functions/logb.texi (logb): Gnulib fixes the cygwin
+       1.5 declaration bug.
+
+       forkpty, openpty: prefer glibc's const-safe prototype
+       * lib/forkpty.c (rpl_forkpty): New file.
+       * lib/openpty.c (rpl_openpty): Likewise.
+       * modules/forkpty (Files): Distribute it.
+       * modules/openpty (Files): Likewise.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses.  Move decl
+       check...
+       * m4/pty.m4 (gl_FORKPTY, gl_OPENPTY): ...here.  Request
+       replacement for for non-const BSD signature.
+       * modules/pty (Makefile.am): Substitute witnesses.
+       * lib/pty.in.h (forkpty, openpty): Declare replacements.
+       * tests/test-forkpty.c: Update signature check.
+       * tests/test-openpty.c: Likewise.
+       * doc/glibc-functions/forkpty.texi (forkpty): Document the fix.
+       * doc/glibc-functions/openpty.texi (openpty): Likewise.
+
+       forkpty, openpty: split functions into new modules
+       * modules/pty (Makefile.am): Substitute new witnesses.
+       (Libraries): Move library detection...
+       * modules/forkpty: ...into new module.
+       * modules/openpty: Another new module.
+       * modules/pty-tests: Rename and split...
+       * modules/forkpty-tests: ...to this...
+       * modules/openpty-tests: ...and this.
+       * tests/test-pty.c: Rename and split...
+       * tests/test-forkpty.c: ...to this...
+       * tests/test-openpty.c: ...and this.
+       * m4/pty_h.m4 (gl_PTY_H_DEFAULTS): Add new witnesses.
+       (gl_PTY): Split library searching...
+       * m4/pty.m4 (gl_PTY_LIB): ...into new file.
+       (gl_FORKPTY, gl_OPENPTY): New macros.
+       * lib/pty.in.h (forkpty, openpty): Honor new witnesses.
+       * NEWS: Mention the split.
+       * MODULES.html.sh (Misc): Document the modules.
+       * doc/glibc-functions/forkpty.texi (forkpty): Likewise.
+       * doc/glibc-functions/openpty.texi (openpty): Likewise.
+
+       pty: improve replacement header
+       * lib/pty.in.h: New file.
+       * modules/pty (Files): Ship it.
+       (Makefile.am): Always build replacement.
+       * m4/pty.m4: Rename...
+       * m4/pty_h.m4: ...to this.
+       (gl_PTY): Modernize setting of witness macros; update check of
+       forkpty to take proper advantage of cache.
+       (gl_PTY_MODULE_INDICATOR, gl_PTY_H_DEFAULTS): New macros.
+
+       getopt: avoid compiler warning
+       * lib/getopt.c (attribute_hidden): Remove unused macro.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix link errors on Solaris 8.
+       * modules/iconv-h-tests (test_iconv_h_c___LDADD): Add LIB_NANOSLEEP.
+       * modules/search-tests (test_search_c___LDADD): Likewise.
+       * modules/signal-tests (test_signal_c___LDADD): Likewise.
+       * modules/spawn-tests (test_spawn_c___LDADD): Likewise.
+       * modules/stdio-tests (test_stdio_c___LDADD): Likewise.
+       * modules/sys_select-tests (test_sys_select_c___LDADD): Likewise.
+       * modules/sys_socket-tests (test_sys_socket_c___LDADD): Likewise.
+       * modules/sys_time-tests (test_sys_time_c___LDADD): Likewise.
+       * modules/wchar-tests (test_wchar_c___LDADD): Likewise.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2010-03-14.
+       * m4/spawn_h.m4 (gl_HAVE_POSIX_SPAWN): New macro.
+       (gl_SPAWN_H): Require it.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): Likewise.
+       Reported by Simon Josefsson.
+
+2010-03-18  Bruno Haible  <bruno@clisp.org>
+
+       Fix typo introduced on 2009-12-31.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Check for the declaration of
+       posix_spawn_file_actions_adddup2.
+
+2010-03-17  Bert Wesarg  <bert.wesarg@googlemail.com>  (tiny change)
+       and Eric Blake  <eblake@redhat.com>
+
+       test-vc-list-files-git: make more robust
+       * tests/test-vc-list-files-git.sh: Unset problematic environment
+       variables.  Chain commands together.
+
+2010-03-17  Ludovic Courtès <ludo@gnu.org>  (tiny change)
+
+       * m4/pty.m4: Unset $ac_cv_have_decl_forkpty before the second
+       `AC_CHECK_DECL' invocation.
+
+2010-03-15  Sergey Poznyakoff  <gray@gnu.org.ua>
+
+       * lib/inttostr.c (inttostr): Make sure the invocation of verify
+       appears before executable statements. Suggested by Petr Sumbera
+       <Petr.Sumbera@Sun.COM>.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       * tests/test-flock.c (test_exclusive): Comment out a test that causes
+       portability problems. Instead use a simpler test.
+       (main): Check that invalid arguments are rejected only on Linux.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix bug introduced on 2009-12-31.
+       * m4/sys_select_h.m4 (gl_HEADER_SYS_SELECT): Invoke
+       gl_PREREQ_SYS_H_WINSOCK2 always.
+       * m4/sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Likewise. Remove
+       SYS_SOCKET_H variable.
+       * m4/sys_file_h.m4 (gl_HEADER_SYS_FILE_H): Remove test for flock.
+       Update comments.
+       * m4/ctype.m4 (gl_CTYPE_H): Update comments.
+       * m4/langinfo_h.m4 (gl_LANGINFO_H): Likewise.
+       * m4/sys_times_h.m4 (gl_SYS_TIMES_H): Likewise.
+       * m4/sys_utsname_h.m4 (gl_SYS_UTSNAME_H): Likewise.
+       * m4/sys_wait_h.m4 (gl_SYS_WAIT_H): Likewise.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix values returned by sinl, cosl.
+       * lib/trigl.h: Add specification comments.
+       * lib/sincosl.c (kernel_sinl, kernel_cosl): Fix comments and formula
+       that combines the values from the precomputed table with the values of
+       the Chebyshev polynomials.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error when modules 'posix_spawn[p]' are not used.
+       * m4/spawn_h.m4 (gl_SPAWN_H): Set HAVE_POSIX_SPAWN here.
+       * m4/posix_spawn.m4 (gl_POSIX_SPAWN_BODY): ... not here.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error on mingw when module 'time_r' is not used.
+       * lib/time.in.h (localtime_r, gmtime_r): Declare only if GNULIB_TIME_R
+       is 1.
+       * tests/test-time-c++.cc (localtime_r, gmtime_r): Likewise.
+       * modules/time_r (configure.ac): Invoke gl_TIME_MODULE_INDICATOR.
+       * modules/time (Makefile.am): Substitute GNULIB_TIME_R.
+       * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize GNULIB_TIME_R.
+
+2010-03-14  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error with Sun C.
+       * lib/strtol.c: Use LLONG_MIN instead of GCC specific LONG_LONG_MIN.
+       Use LLONG_MAX instead of GCC specific LONG_LONG_MAX. Use ULLONG_MAX
+       instead of GCC specific ULONG_LONG_MAX.
+       * lib/xstrtoll.c: Likewise.
+       * lib/xstrtoull.c: Likewise.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Allow the user to disable C++ code and tests.
+       * m4/ansi-c++.m4 (gl_CXX_CHOICE): New macro.
+       (gl_PROG_ANSI_CXX): Require it.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       * DEPENDENCIES (libtool): Mention libtool 2.2.x requirement in special
+       cases.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Test that gnulib does not break the standard C++ headers.
+       * tests/test-locale-c++2.cc: New file.
+       * modules/locale-tests (Files): Add it.
+       (Makefile.am): Compile it for test-locale-c++.
+       * tests/test-math-c++2.cc: New file.
+       * modules/math-tests (Files): Add it.
+       (Makefile.am): Compile it for test-math-c++.
+       * tests/test-signal-c++2.cc: New file.
+       * modules/signal-tests (Files): Add it.
+       (Makefile.am): Compile it for test-signal-c++.
+       * tests/test-stdio-c++2.cc: New file.
+       * modules/stdio-tests (Files): Add it.
+       (Makefile.am): Compile it for test-stdio-c++.
+       * tests/test-stdlib-c++2.cc: New file.
+       * modules/stdlib-tests (Files): Add it.
+       (Makefile.am): Compile it for test-stdlib-c++.
+       * tests/test-string-c++2.cc: New file.
+       * modules/string-tests (Files): Add it.
+       (Makefile.am): Compile it for test-string-c++.
+       * tests/test-time-c++2.cc: New file.
+       * modules/time-tests (Files): Add it.
+       (Makefile.am): Compile it for test-time-c++.
+       Reported by John W. Eaton <jwe@gnu.org>.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       * gnulib-tool (func_usage): Clarify which options are available for
+       --create-testdir and --create-megatestdir.
+
+2010-03-13  Bruno Haible  <bruno@clisp.org>
+
+       Fix compilation error with glibc >= 2.10 and g++ >= 4.4.
+       * build-aux/warn-on-use.h (_GL_WARN_ON_USE_CXX): New macro.
+       * build-aux/c++defs.h (_GL_CXXALIASWARN1): New macro.
+       * lib/string.in.h (memchr, memrchr, rawmemchr, strchrnul, strpbrk,
+       strstr, strcasestr): Use _GL_CXXALIASWARN1 instead of _GL_CXXALIASWARN
+       when appropriate.
+       Reported by Jim Meyering.
+
+2010-03-12  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (func_import): Explain origin of code.
+
+2010-03-12  Bruno Haible  <bruno@clisp.org>
+
+       Fix problem with automake's definition of CXXLINK.
+       * gnulib-tool (func_create_testdir): After LT_INIT, also use LT_LANG.
+       Reported by Simon Josefsson and Ludovic Courtès.
+
+2010-03-12  Bruno Haible  <bruno@clisp.org>
+
+       * doc/gnulib-intro.texi (Steady Development): Mention Ian Beckwith's
+       stable releases.
+
+2010-03-11  Bruno Haible  <bruno@clisp.org>
+
+       Fix problems with overloaded C++ definitions of memchr, strpbrk, etc.
+       * build-aux/c++defs.h (_GL_CXXALIAS_SYS_CAST2): Make it work regardless
+       whether the system provides one variant or multiple variants of the
+       function.
+       * lib/string.in.h (memchr, strpbrk): Use _GL_CXXALIAS_SYS_CAST2 for all
+       C++ compilers.
+       (memrchr, rawmemchr, strchrnul, strstr, strcasestr): Use
+       _GL_CXXALIAS_SYS_CAST2 instead of _GL_CXXALIAS_SYS.
+       Reported by Jim Meyering.
+
+2010-03-09  Simon Josefsson  <simon@josefsson.org>
+
+       * gnulib-tool (LIBTOOLPATH): Fix cut'n'paste bug.
+
+2010-03-08  Bruno Haible  <bruno@clisp.org>
+
+       gnulib-tool: Add support for --libtool in --create-testdir.
+       * gnulib-tool (LIBTOOLPATH, LIBTOOLIZE): New variables.
+       (func_create_testdir): Emit LT_INIT invocations. Invoke LIBTOOLIZE.
+
+2010-03-08  Eric Blake  <eblake@redhat.com>
+
+       gnulib-tool.texi: mention possibility of git submodule
+       * doc/gnulib-tool.texi (VCS Issues): Add details about using git
+       submodules.
+       * doc/.gitignore: Ignore another generated file.
+
+2010-03-08  Karl Berry  <karl@gnu.org>
+
+       * doc/gnulib-tool.texi (VCS Issues): Mention third option
+       of committing gnulib files while skipping others.
+
 2010-03-07  Bruno Haible  <bruno@clisp.org>
 
+       Tests of module 'wctype' in C++ mode.
+       * tests/test-wctype-c++.cc: New file.
+       * modules/wctype-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-wctype-c++.
+
+       Tests of module 'wchar' in C++ mode.
+       * tests/test-wchar-c++.cc: New file.
+       * modules/wchar-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-wchar-c++.
+       * m4/wchar_h.m4 (gl_WCHAR_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
+       Tests of module 'unistd' in C++ mode.
+       * tests/test-unistd-c++.cc: New file.
+       * modules/unistd-tests (Files): Add it and tests/signature.h.
+       (Depends-on): Add ansi-c++-opt.
+       (Makefile.am): Arrange to compile and run test-unistd-c++.
+       * m4/unistd_h.m4 (gl_UNISTD_MODULE_INDICATOR): Invoke
+       gl_MODULE_INDICATOR.
+
        Tests of module 'time' in C++ mode.
        * tests/test-time-c++.cc: New file.
        * modules/time-tests (Files): Add it and tests/signature.h.
        (posix_spawn_file_actions_destroy)
        (posix_spawn_file_actions_addopen)
        (posix_spawn_file_actions_addclose)
-       (posix_spawwn_file_actions_adddup2): Likewise.
+       (posix_spawn_file_actions_adddup2): Likewise.
        * m4/signal_h.m4 (gl_SIGNAL_H): Guarantee uid_t.
        * tests/test-signal.c (main): Enhance test.