From 84574c0b3f9981ea446358f6ad80f072ac270661 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Wed, 18 Dec 2002 13:15:16 +0000 Subject: [PATCH 1/1] Remove unused test. --- m4/ChangeLog | 5 +++++ m4/jm-mktime.m4 | 3 --- m4/strftime.m4 | 5 ++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/m4/ChangeLog b/m4/ChangeLog index aed9a3bc3..2d282361d 100644 --- a/m4/ChangeLog +++ b/m4/ChangeLog @@ -1,3 +1,8 @@ +2002-12-18 Bruno Haible + + * strftime.m4 (_jm_STRFTIME_PREREQS): Don't test for localtime_r. + * jm-mktime.m4 (jm_FUNC_MKTIME): Likewise. + 2002-12-17 Bruno Haible * mbswidth.m4 (jm_PREREQ_MBSWIDTH): Remove checks for limits.h, diff --git a/m4/jm-mktime.m4 b/m4/jm-mktime.m4 index d687c999a..9b781909e 100644 --- a/m4/jm-mktime.m4 +++ b/m4/jm-mktime.m4 @@ -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.]) diff --git a/m4/strftime.m4 b/m4/strftime.m4 index 831faecac..219a3fd6a 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -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) -- 2.11.0