[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] strftime.m4, jm-mktime.m4
From: |
Bruno Haible |
Subject: |
[Bug-gnulib] strftime.m4, jm-mktime.m4 |
Date: |
Tue, 17 Dec 2002 13:01:41 +0100 (CET) |
Hi,
I propose to make this change. strftime.c and mktime.c don't use
localtime_r, therefore there's no point in checking for it.
Bruno
*** gnulib/m4/strftime.m4.bak 2001-08-12 15:26:01.000000000 +0200
--- gnulib/m4/strftime.m4 2002-12-12 02:19:41.000000000 +0100
***************
*** 4,12 ****
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)
AC_CHECK_HEADERS(limits.h)
AC_CHECK_FUNCS(bcopy tzset mempcpy memcpy memset)
--- 4,11 ----
dnl These are the prerequisite macros for GNU's strftime.c replacement.
AC_DEFUN([_jm_STRFTIME_PREREQS],
[
! 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)
*** gnulib/m4/jm-mktime.m4.bak 2001-09-17 23:44:03.000000000 +0200
--- gnulib/m4/jm-mktime.m4 2002-12-13 12:10:20.000000000 +0100
***************
*** 6,14 ****
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.])
--- 6,11 ----
- [Bug-gnulib] strftime.m4, jm-mktime.m4,
Bruno Haible <=