summaryrefslogtreecommitdiff
path: root/m4/strftime.m4
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-04-03 07:31:59 +0000
committerJim Meyering <jim@meyering.net>2000-04-03 07:31:59 +0000
commit5641f6257f674313ad613daab6d8880bd4538861 (patch)
treeedb70c99ac473e731c3e29e8ba8c87a62b6c58bd /m4/strftime.m4
parentce3986e75add61787ff773708171996bb7e64424 (diff)
downloadcoreutils-5641f6257f674313ad613daab6d8880bd4538861.tar.xz
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use the underlying strftime.
Diffstat (limited to 'm4/strftime.m4')
-rw-r--r--m4/strftime.m47
1 files changed, 4 insertions, 3 deletions
diff --git a/m4/strftime.m4 b/m4/strftime.m4
index 974f2bf00..22790f6a3 100644
--- a/m4/strftime.m4
+++ b/m4/strftime.m4
@@ -1,11 +1,12 @@
-#serial 10
+#serial 11
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 if it exists. Check for it.
- AC_CHECK_FUNCS(localtime_r)
+ 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)