+2002-12-18 Bruno Haible <bruno@clisp.org>
+
+ * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r.
+ * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise.
+
2002-12-17 Bruno Haible <bruno@clisp.org>
* mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h,
AC_DEFUN([jm_FUNC_MKTIME],
[AC_REQUIRE([AC_FUNC_MKTIME])dnl
- dnl mktime.c uses localtime_r if it exists. Check for it.
- AC_CHECK_FUNCS(localtime_r)
-
if test $ac_cv_func_working_mktime = no; then
AC_DEFINE(mktime, rpl_mktime,
[Define to rpl_mktime if the replacement function should be used.])
dnl These are the prerequisite macros for GNU's strftime.c replacement.
AC_DEFUN([_jm_STRFTIME_PREREQS],
[
- dnl strftime.c uses localtime_r and the underyling system strftime
- dnl if they exist.
- AC_CHECK_FUNCS(localtime_r strftime)
+ dnl strftime.c uses the underyling system strftime if it exists.
+ AC_CHECK_FUNCS(strftime)
AC_CHECK_HEADERS(limits.h)
AC_CHECK_FUNCS(bcopy tzset mempcpy memcpy memset)