diff options
author | Bruno Haible <bruno@clisp.org> | 2011-05-22 16:39:23 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-05-22 16:39:23 +0200 |
commit | 10b0d383559211c30490a72f2f2d3973dc60bf19 (patch) | |
tree | 2815d52970749d3b30ebdeb3b4d5edc26d409647 /modules/timegm | |
parent | 60b73b0521f30d7c9b99fb98e09077376abee49a (diff) | |
download | gnulib-10b0d383559211c30490a72f2f2d3973dc60bf19.tar.gz |
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 <time.h>): Add mktime-internal.
Diffstat (limited to 'modules/timegm')
-rw-r--r-- | modules/timegm | 4 |
1 files changed, 2 insertions, 2 deletions
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 |