+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