Tests of module 'time' in C++ mode.
[gnulib.git] / m4 / time_h.m4
index 4bc2669..ba2e194 100644 (file)
@@ -66,6 +66,8 @@ 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
+  dnl Define it also as a C macro, for the benefit of the unit tests.
+  gl_MODULE_INDICATOR([$1])
 ])
 
 AC_DEFUN([gl_HEADER_TIME_H_DEFAULTS],