X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=modules%2Ftimegm;h=0ec9d65e7b7a1aeef2efb761fae8452cf9094da1;hb=fb733077fcd97a36e1ffdb292387943df8e1b9b4;hp=27eab44ec753a5790331e004f640f01b30394f4c;hpb=89861a8be877136ea47794016b00a5a095c30ea4;p=pspp diff --git a/modules/timegm b/modules/timegm index 27eab44ec7..0ec9d65e7b 100644 --- a/modules/timegm +++ b/modules/timegm @@ -2,16 +2,22 @@ Description: Convert calendar time to simple time, inverse of mktime. Files: +lib/mktime-internal.h 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 +if test $HAVE_TIMEGM = 0 || test $REPLACE_TIMEGM = 1; then + AC_LIBOBJ([timegm]) + gl_PREREQ_TIMEGM +fi +gl_TIME_MODULE_INDICATOR([timegm]) Makefile.am: