From: Jim Meyering Date: Mon, 3 Apr 2000 07:31:59 +0000 (+0000) Subject: (_jm_STRFTIME_PREREQS): Check for strftime, X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2851693bd9737f7578a8f185479e22e1b5ad5c7f;p=pspp (_jm_STRFTIME_PREREQS): Check for strftime, since strftime.c uses HAVE_STRFTIME to decide whether to use the underlying strftime. --- diff --git a/m4/strftime.m4 b/m4/strftime.m4 index 974f2bf00b..22790f6a31 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)