X-Git-Url: https://erislabs.net/gitweb/?a=blobdiff_plain;ds=inline;f=modules%2Ftimegm;h=0ec9d65e7b7a1aeef2efb761fae8452cf9094da1;hb=5068051817bc09c088f31d3627956bfe5086b130;hp=e841a55128f781c43d109ba4101d726584bacc50;hpb=7b224479dcac36108cbf435aff9b45767143ed25;p=gnulib.git diff --git a/modules/timegm b/modules/timegm index e841a5512..0ec9d65e7 100644 --- a/modules/timegm +++ b/modules/timegm @@ -2,22 +2,30 @@ Description: Convert calendar time to simple time, inverse of mktime. Files: -lib/timegm.h +lib/mktime-internal.h lib/timegm.c m4/timegm.m4 Depends-on: -mktime -time_r +time +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 +if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then + AC_LIBOBJ([timegm]) + gl_PREREQ_TIMEGM +fi +gl_TIME_MODULE_INDICATOR([timegm]) Makefile.am: -lib_SOURCES += timegm.h Include: -"timegm.h" + + +License: +LGPLv2+ Maintainer: all, glibc