X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=m4%2Ftime_h.m4;h=f2e54f2a94ed5325b671ba0c6a0e9a8cae3d18cd;hb=ffd19c4888f8a52d7e7cb8d8edf806deca4eef1b;hp=4bc266931dec8ef6c6bb2258494e0e58667a01b8;hpb=5f04866f4c867e67b1c5573b86a7e20ef890e535;p=gnulib.git diff --git a/m4/time_h.m4 b/m4/time_h.m4 index 4bc266931..f2e54f2a9 100644 --- a/m4/time_h.m4 +++ b/m4/time_h.m4 @@ -65,7 +65,9 @@ AC_DEFUN([gl_TIME_MODULE_INDICATOR], [ dnl Use AC_REQUIRE here, so that the default settings are expanded once only. AC_REQUIRE([gl_HEADER_STRING_H_DEFAULTS]) - GNULIB_[]m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./-],[ABCDEFGHIJKLMNOPQRSTUVWXYZ___])=1 + gl_MODULE_INDICATOR_SET_VARIABLE([$1]) + dnl Define it also as a C macro, for the benefit of the unit tests. + gl_MODULE_INDICATOR_FOR_TESTS([$1]) ]) AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], @@ -74,6 +76,7 @@ AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS], GNULIB_NANOSLEEP=0; AC_SUBST([GNULIB_NANOSLEEP]) GNULIB_STRPTIME=0; AC_SUBST([GNULIB_STRPTIME]) GNULIB_TIMEGM=0; AC_SUBST([GNULIB_TIMEGM]) + GNULIB_TIME_R=0; AC_SUBST([GNULIB_TIME_R]) dnl If another module says to replace or to not replace, do that. dnl Otherwise, replace only if someone compiles with -DGNULIB_PORTCHECK; dnl this lets maintainers check for portability.