From 10b0d383559211c30490a72f2f2d3973dc60bf19 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Sun, 22 May 2011 16:39:23 +0200 Subject: New module 'mktime-internal'. * modules/mktime-internal: New file. * m4/timegm.m4 (gl_PREREQ_TIMEGM): Move contents to ... * m4/mktime.m4 (gl_FUNC_MKTIME_INTERNAL): New macro. Define mktime_internal as a C macro if libc has __mktime_internal. * modules/timegm (Depends-on): Add mktime-internal. Remove mktime. Add conditions. * MODULES.html.sh (Date and time ): Add mktime-internal. --- modules/timegm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/timegm') diff --git a/modules/timegm b/modules/timegm index 91623cf75b..ade34754ff 100644 --- a/modules/timegm +++ b/modules/timegm @@ -7,9 +7,9 @@ lib/timegm.c m4/timegm.m4 Depends-on: -mktime time -time_r +mktime-internal [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] +time_r [test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1] configure.ac: gl_FUNC_TIMEGM -- cgit v1.2.1