changeset 4090:93e8a3df4faf

Remove unused test.
author Bruno Haible <bruno@clisp.org>
date Wed, 18 Dec 2002 13:15:16 +0000
parents 35bae818ea8e
children 2363f5cdf4d9
files m4/ChangeLog m4/jm-mktime.m4 m4/strftime.m4
diffstat 3 files changed, 7 insertions(+), 6 deletions(-) [+]
line wrap: on
line diff
--- a/m4/ChangeLog
+++ b/m4/ChangeLog
@@ -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,
--- a/m4/jm-mktime.m4
+++ b/m4/jm-mktime.m4
@@ -6,9 +6,6 @@
 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.])
--- a/m4/strftime.m4
+++ b/m4/strftime.m4
@@ -4,9 +4,8 @@
 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)