mktime: correct setting of REPLACE_MKTIME
authorJim Meyering <meyering@redhat.com>
Wed, 29 Jul 2009 17:30:21 +0000 (19:30 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 29 Jul 2009 17:30:21 +0000 (19:30 +0200)
* m4/mktime.m4 (gl_FUNC_MKTIME): Set REPLACE_MKTIME=0, when required.

ChangeLog
m4/mktime.m4

index 2be276a..9c386f5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2009-07-29  Jim Meyering  <meyering@redhat.com>
 
+       mktime: correct setting of REPLACE_MKTIME
+       * m4/mktime.m4 (gl_FUNC_MKTIME): Set REPLACE_MKTIME=0, when required.
+
        update-copyright: new module
        * modules/update-copyright: New file.
        * build-aux/update-copyright: New file.
index 3eeace5..d3e99f9 100644 (file)
@@ -221,6 +221,8 @@ AC_DEFUN([gl_FUNC_MKTIME],
   if test $ac_cv_func_working_mktime = no; then
     REPLACE_MKTIME=1
     gl_PREREQ_MKTIME
+  else
+    REPLACE_MKTIME=0
   fi
 ])