From: Jim Meyering Date: Sat, 13 Sep 2003 10:48:46 +0000 (+0000) Subject: (_jm_STRFTIME_PREREQS): Don't check for limits.h, memcpy, memset. X-Git-Tag: v5.1.0~632 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=15b13deb5706646d4090c47d7caa5db3bb767582;p=thirdparty%2Fcoreutils.git (_jm_STRFTIME_PREREQS): Don't check for limits.h, memcpy, memset. (jm_FUNC_GNU_STRFTIME): Don't require standard C headers. --- diff --git a/m4/strftime.m4 b/m4/strftime.m4 index 84a1996ae5..dfcf320bde 100644 --- a/m4/strftime.m4 +++ b/m4/strftime.m4 @@ -1,4 +1,4 @@ -#serial 20 +#serial 21 dnl This macro is intended to be used solely in this file. dnl These are the prerequisite macros for GNU's strftime.c replacement. @@ -7,9 +7,8 @@ AC_DEFUN([_jm_STRFTIME_PREREQS], dnl strftime.c uses the underyling system strftime if it exists. AC_FUNC_STRFTIME - AC_CHECK_HEADERS_ONCE(limits.h) - AC_CHECK_FUNCS_ONCE(memcpy mempcpy) - AC_CHECK_FUNCS(tzset memset) + AC_CHECK_FUNCS_ONCE(mempcpy) + AC_CHECK_FUNCS(tzset) # This defines (or not) HAVE_TZNAME and HAVE_TM_ZONE. AC_STRUCT_TIMEZONE @@ -29,7 +28,6 @@ AC_DEFUN([jm_FUNC_GNU_STRFTIME], _jm_STRFTIME_PREREQS AC_REQUIRE([AC_C_CONST])dnl - AC_REQUIRE([AC_HEADER_STDC])dnl AC_CHECK_HEADERS_ONCE(sys/time.h) AC_DEFINE([my_strftime], [nstrftime], [Define to the name of the strftime replacement function.])