3 dnl This macro is intended to be used solely in this file.
4 dnl These are the prerequisite macros for GNU's strftime.c replacement.
5 AC_DEFUN([_jm_STRFTIME_PREREQS],
7 dnl strftime.c uses the underyling system strftime if it exists.
10 AC_CHECK_FUNCS_ONCE(mempcpy)
13 # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE.
16 AC_CHECK_FUNCS(mblen mbrlen)
19 AC_REQUIRE([gl_TM_GMTOFF])
20 AC_REQUIRE([gl_FUNC_TZSET_CLOBBER])
23 dnl From Jim Meyering.
25 AC_DEFUN([jm_FUNC_GNU_STRFTIME],
26 [AC_REQUIRE([AC_HEADER_TIME])dnl
30 AC_REQUIRE([AC_C_CONST])dnl
31 AC_CHECK_HEADERS_ONCE(sys/time.h)
32 AC_DEFINE([my_strftime], [nstrftime],
33 [Define to the name of the strftime replacement function.])
36 AC_DEFUN([jm_FUNC_STRFTIME],