Factorize common .m4 code.
[pspp] / m4 / time_h.m4
index f572b859484ffab556a8192be11ea8be78c046e8..b80e6910d1bfc68738d8d17562b1d6080641965b 100644 (file)
@@ -65,7 +65,7 @@ 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([$1])
 ])