timegm: Assume declaration if function exists.
[pspp] / ChangeLog
index 2c21234ff79d73d646237afb28926fda6d862032..ecea28d7568c17b1f27c6152a5bcc843761b81f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,18 @@
+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.