X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=modules%2Ftimegm;h=0ec9d65e7b7a1aeef2efb761fae8452cf9094da1;hb=50901279d8e42ea4bccc2eef0a6b11e7c3dde4cf;hp=91623cf75bec42318b3781d2f3cdc503b75dab09;hpb=5f04866f4c867e67b1c5573b86a7e20ef890e535;p=gnulib.git diff --git a/modules/timegm b/modules/timegm index 91623cf75..0ec9d65e7 100644 --- a/modules/timegm +++ b/modules/timegm @@ -7,12 +7,16 @@ 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: