mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use the underlying strftime.
This commit is contained in:
1 parent
ce3986e75a
commit
5641f6257f
1 file changed
+4
-3
+4
-3
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user