* modules/sys_time (Makefile.am): Build sys/time.h only when it's the
[gnulib.git] / ChangeLog
index 886120a..6f32be1 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,16 @@
 2007-01-28  Bruno Haible  <bruno@clisp.org>
 
+       * modules/sys_time (Makefile.am): Build sys/time.h only when it's the
+       value of $(SYS_TIME_H).
+       [MOSTLYCLEANFILES]: Now that sys/time.h is created only when needed,
+       remove it conditionally, too.
+       * m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_BODY): Set SYS_TIME_H.
+       * m4/gettimeofday.m4 (gl_FUNC_GETTIMEOFDAY):
+       (gl_FUNC_GETTIMEOFDAY_CLOBBER): Set SYS_TIME_H when setting
+       GETTIMEOFDAY_REPLACEMENT to 1.
+
+2007-01-28  Bruno Haible  <bruno@clisp.org>
+
        * m4/unistd_h.m4 (gl_HEADER_UNISTD_DEFAULTS): New macro.
        (gl_HEADER_UNISTD): Require it. Don't set UNISTD_H to empty here.
        * m4/fchdir.m4 (gl_FUNC_FCHDIR): Require gl_HEADER_UNISTD_DEFAULTS.