Remove unused test.
authorBruno Haible <bruno@clisp.org>
Wed, 18 Dec 2002 13:15:16 +0000 (13:15 +0000)
committerBruno Haible <bruno@clisp.org>
Wed, 18 Dec 2002 13:15:16 +0000 (13:15 +0000)
m4/ChangeLog
m4/jm-mktime.m4
m4/strftime.m4

index aed9a3b..2d28236 100644 (file)
@@ -1,3 +1,8 @@
+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,
index d687c99..9b78190 100644 (file)
@@ -6,9 +6,6 @@ dnl A wrapper around AC_FUNC_MKTIME.
 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.])
index 831faec..219a3fd 100644 (file)
@@ -4,9 +4,8 @@ dnl This macro is intended to be used solely in this file.
 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)