summaryrefslogtreecommitdiff
path: root/m4/timegm.m4
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-05-22 15:54:36 +0200
committerBruno Haible <bruno@clisp.org>2011-05-22 15:54:36 +0200
commit60b73b0521f30d7c9b99fb98e09077376abee49a (patch)
tree0a8f4f97c4aa02e631621240a1daf8b126ea8073 /m4/timegm.m4
parent4b9a217d2c97a6a937dc62aadfbea50bd2d3c6e6 (diff)
downloadgnulib-60b73b0521f30d7c9b99fb98e09077376abee49a.tar.gz
timegm: Correct mktime replacement statements.
* m4/timegm.m4 (gl_PREREQ_TIMEGM): Set REPLACE_MKTIME, instead of defining mktime as a C macro. This completes a 2009-07-28 commit.
Diffstat (limited to 'm4/timegm.m4')
-rw-r--r--m4/timegm.m43
1 files changed, 1 insertions, 2 deletions
diff --git a/m4/timegm.m4 b/m4/timegm.m4
index a47984cef4..62e76b4437 100644
--- a/m4/timegm.m4
+++ b/m4/timegm.m4
@@ -32,8 +32,7 @@ AC_DEFUN([gl_PREREQ_TIMEGM], [
[# mktime works but it doesn't export __mktime_internal,
# so we need to substitute our own mktime implementation.
AC_LIBOBJ([mktime])
- AC_DEFINE([mktime], [rpl_mktime],
- [Define to rpl_mktime if the replacement function should be used.])
+ REPLACE_MKTIME=1
gl_PREREQ_MKTIME])
fi
])