+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ wcwidth: Fix C++ test error on mingw.
+ * lib/wcwidth.c (wcwidth): Renamed from rpl_wcwidth.
+ * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): If the wcwidth function does not
+ exist, don't set REPLACE_WCWIDTH. Instead, rely on HAVE_DECL_WCWIDTH.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ nanosleep: Fix C++ test error on mingw.
+ * lib/nanosleep.c (nanosleep): Renamed from rpl_nanosleep.
+ * lib/time.in.h (nanosleep): Use modern idiom.
+ * m4/nanosleep.m4 (gl_FUNC_NANOSLEEP): When the system does not have a
+ nanosleep function, set HAVE_NANOSLEEP to 0, instead of setting
+ REPLACE_NANOSLEEP to 1.
+ * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_NANOSLEEP.
+ * modules/time (Makefile.am): Substitute HAVE_NANOSLEEP.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ strptime: Fix C++ test error on mingw.
+ * lib/time.in.h (strptime): Use HAVE_STRPTIME, not REPLACE_STRPTIME.
+ * m4/strptime.m4 (gl_FUNC_STRPTIME): Set HAVE_STRPTIME, not
+ REPLACE_STRPTIME. Invoke gl_PREREQ_STRPTIME.
+ (gl_PREREQ_STRPTIME): New macro, extracted from gl_FUNC_STRPTIME.
+ * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_STRPTIME,
+ not REPLACE_STRPTIME.
+ * modules/time (Makefile.am): Substitute HAVE_STRPTIME, not
+ REPLACE_STRPTIME.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ timegm: Fix C++ test error on mingw.
+ * lib/time.in.h (timegm): Use modern idiom.
+ * m4/timegm.m4 (gl_FUNC_TIMEGM): When timegm does not exist, set
+ HAVE_TIMEGM to 0, not REPLACE_TIMEGM to 1.
+ * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_TIMEGM.
+ * modules/time (Makefile.am): Substitute HAVE_TIMEGM.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ timegm: Assume declaration if function exists.
+ * m4/timegm.m4 (gl_FUNC_TIMEGM): Assume timegm is declared if and only
+ if it exists. Don't clobber ac_cv_func_timegm.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ time_r: Fix C++ test error on mingw.
+ * lib/time.in.h (localtime_r, gmtime_r): Use modern idiom.
+ * m4/time_r.m4 (gl_TIME_R): When localtime_r does not exist, set
+ HAVE_LOCALTIME_R to 0, not REPLACE_LOCALTIME_R to 1.
+ * m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_LOCALTIME_R.
+ * modules/time (Makefile.am): Substitute HAVE_LOCALTIME_R.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ time_r: Minor updates.
+ * modules/time_r (Description): Mention the provided functions.
+ * lib/time_r.c: Don't include <string.h>.
+ * doc/posix-functions/gmtime_r.texi: Mention the 'time_r' module.
+ * doc/posix-functions/localtime_r.texi: Likewise.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ time: Fix regression introduced on 2010-03-08.
+ * m4/time_h.m4 (gl_TIME_MODULE_INDICATOR): Require
+ gl_HEADER_TIME_H_DEFAULTS, not gl_HEADER_STRING_H_DEFAULTS.
+
+2010-04-03 Jim Meyering <meyering@redhat.com>
+
+ maint.mk: don't silently disable project-specific syntax-check rules
+ * top/maint.mk (_prohibit_regexp): Define, to help people realize
+ that they need to convert their project-specific syntax-check rules
+ to use the new _sc_search_regexp.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ fchdir: Fix regression introduced on 2010-03-08.
+ * lib/unistd.in.h (fchdir): Fix declaration.
+ * m4/fchdir.m4 (gl_FUNC_FCHDIR): Set HAVE_FCHDIR, not REPLACE_FCHDIR.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize HAVE_FCHDIR, not
+ REPLACE_FCHDIR.
+ * modules/unistd (Makefile.am): Substitute HAVE_FCHDIR, not
+ REPLACE_FCHDIR.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ getpagesize: Fix C++ test error on mingw.
+ * lib/unistd.in.h (getpagesize): Don't use _GL_CXXALIASWARN if the
+ system does not declare the function.
+ * m4/getpagesize.m4 (gl_FUNC_GETPAGESIZE): Also check whether it's
+ declared.
+ * m4/unistd_h.m4 (gl_UNISTD_H_DEFAULTS): Initialize
+ HAVE_DECL_GETPAGESIZE.
+ * modules/unistd (Makefile.am): Substitute HAVE_DECL_GETPAGESIZE.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ stdio: Make C++ tests work on mingw.
+ * lib/stdio.in.h (getline): Don't use _GL_CXXALIASWARN if the system
+ does not declare the function.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ ftello: Fix C++ test error on mingw.
+ * lib/stdio.in.h (ftello): Use modern idiom.
+ * lib/ftello.c (ftello): Renamed from rpl_ftello.
+ * m4/ftello.m4 (gl_FUNC_FTELLO): Distinguish the case that the function
+ is missing and that it needs to be replaced.
+ (gl_REPLACE_FTELLO): Don't set REPLACE_FTELLO here.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize HAVE_FTELLO.
+ * modules/stdio (Makefile.am): Substitute HAVE_FTELLO.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ fseeko: Fix C++ test error on mingw.
+ * lib/stdio.in.h (fseeko): Use modern idiom.
+ * lib/fseeko.c (fseeko): Renamed from rpl_fseeko.
+ * m4/fseeko.m4 (gl_FUNC_FSEEKO): Distinguish the case that the function
+ is missing and that it needs to be replaced.
+ (gl_REPLACE_FSEEKO): Don't set REPLACE_FSEEKO here.
+ * m4/stdio_h.m4 (gl_STDIO_H_DEFAULTS): Initialize HAVE_FSEEKO.
+ * modules/stdio (Makefile.am): Substitute HAVE_FSEEKO.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ mkstemp: Fix C++ test error on mingw.
+ * lib/stdlib.in.h (mkstemp): Use modern idiom.
+ * m4/mkstemp.m4 (gl_FUNC_MKSTEMP): Distinguish the case that the
+ function is missing and that it needs to be replaced.
+ * m4/stdlib_h.m4 (gl_STDLIB_H_DEFAULTS): Initialize HAVE_MKSTEMP.
+ * modules/stdlib (Makefile.am): Substitute HAVE_MKSTEMP.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ stpncpy: Fix C++ test error on mingw.
+ * lib/string.in.h (stpncpy): Use modern idiom.
+ * m4/stpncpy.m4 (gl_FUNC_STPNCPY): Distinguish the case that the
+ function is missing and that it needs to be replaced.
+ * m4/string_h.m4 (gl_HEADER_STRING_H_DEFAULTS): Initialize
+ REPLACE_STPNCPY.
+ * modules/string (Makefile.am): Substitute REPLACE_STPNCPY.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ sys_stat: Fix C++ test error on mingw.
+ * build-aux/c++defs.h (_GL_CXXALIAS_RPL_CAST_1): New macro.
+ * lib/sys_stat.in.h (lchmod): Use it instead of _GL_CXXALIAS_RPL_1.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ pty: Update doc.
+ * doc/glibc-headers/pty.texi: Mention changes done since 2010-03-18.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ unistd: Fix C++ test error on mingw.
+ * lib/unistd.in.h (getcwd): Use _GL_CXXALIAS_SYS_CAST.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ Update doc regarding mingw.
+ * doc/glibc-functions/openpty.texi: Update regarding mingw.
+ * doc/glibc-functions/login_tty.texi: Likewise.
+ * doc/glibc-functions/forkpty.texi: Likewise.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ stdlib: Avoid compilation failure of c-strtold on mingw.
+ * lib/stdlib.in.h: Don't include <unistd.h> on native Windows systems.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ locale: Make C++ tests work on Cygwin and mingw.
+ * lib/locale.in.h (duplocale): Don't use _GL_CXXALIASWARN if gnulib
+ cannot provide the function.
+ Reported by Simon Josefsson.
+
+2010-04-03 Bruno Haible <bruno@clisp.org>
+
+ localename: Port to MacOS X 10.6.
+ * lib/localename.c (gl_locale_name_thread_unsafe): On MacOS X, try the
+ memory layout of the locales in MacOS X 10.6 as well.
+ Reported by Panu Kekäläinen <panu@kekalainen.eu>.
+
+2010-04-02 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Ensure that long-running tests are executed last.
+ * gnulib-tool (func_emit_tests_Makefile_am): Emit the code for long-
+ running tests after the one for the other tests.
+
+2010-04-02 Bruno Haible <bruno@clisp.org>
+
+ gnulib-tool: Ensure the tests in the main directory are executed first.
+ * gnulib-tool (func_emit_tests_Makefile_am): Initialize SUBDIRS to
+ start with the current directory.
+
+2010-04-02 Bruno Haible <bruno@clisp.org>
+
+ Tests for module 'havelib', moved here from GNU gettext.
+ * modules/havelib-tests: New file, from gettext/autoconf-lib-link with
+ modifications.
+ * tests/havelib/README: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/Makefile.am: New file, from gettext/autoconf-lib-link
+ with modifications.
+ * tests/havelib/rpath-1: New file, from gettext/autoconf-lib-link with
+ modifications.
+ * tests/havelib/rpath-1a: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-1b: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2_a: New file, from gettext/autoconf-lib-link
+ with modifications.
+ * tests/havelib/rpath-2_b: New file, from gettext/autoconf-lib-link
+ with modifications.
+ * tests/havelib/rpath-2aaa: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2aab: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2aac: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2aad: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2aba: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2abb: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2abc: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2abd: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2baa: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bab: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bac: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bad: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bba: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bbb: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bbc: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-2bbd: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3_a: New file, from gettext/autoconf-lib-link
+ with modifications.
+ * tests/havelib/rpath-3_b: New file, from gettext/autoconf-lib-link
+ with modifications.
+ * tests/havelib/rpath-3aaa: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aab: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aac: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aad: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aae: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aaf: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aag: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aah: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3aba: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abb: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abc: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abd: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abe: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abf: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abg: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3abh: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3baa: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bab: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bac: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bad: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bae: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3baf: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bag: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bah: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bba: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbb: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbc: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbd: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbe: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbf: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbg: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpath-3bbh: New file, from gettext/autoconf-lib-link.
+ * tests/havelib/rpathx/rpathx.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathx/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathx/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathy/rpathy.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathy/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathy/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathz/rpathz.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathz/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathz/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathlx/usex.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlx/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlx/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathly/usey.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathly/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathly/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathlz/usez.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlz/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlz/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathlyx/usey.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlyx/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlyx/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathlzyx/usez.c: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlzyx/Makefile.am: New file, from
+ gettext/autoconf-lib-link.
+ * tests/havelib/rpathlzyx/configure.ac: New file, from
+ gettext/autoconf-lib-link with modifications.
+ * tests/havelib/rpathcfg.sh: New file, from gettext/autoconf-lib-link
+ with modifications.
+
2010-04-02 Bruno Haible <bruno@clisp.org>
gnulib-tool: Create distributed built sources also for the tests.