diff options
author | Jim Meyering <jim@meyering.net> | 2003-09-13 10:48:46 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2003-09-13 10:48:46 +0000 |
commit | 15b13deb5706646d4090c47d7caa5db3bb767582 (patch) | |
tree | 5f9558ef9195a34477fc62ae34d2e5d86ab6cd24 | |
parent | 89ed823555b5855c68de022017d6a603e3f4f57f (diff) | |
download | coreutils-15b13deb5706646d4090c47d7caa5db3bb767582.tar.xz |
(_jm_STRFTIME_PREREQS): Don't check for limits.h, memcpy, memset.
(jm_FUNC_GNU_STRFTIME): Don't require standard C headers.
-rw-r--r-- | m4/strftime.m4 | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/m4/strftime.m4 b/m4/strftime.m4 index 84a1996ae..dfcf320bd 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.]) |