Mercurial > hg > octave-nkf > gnulib-hg
changeset 2384:5867b86483d8
(_jm_STRFTIME_PREREQS): Check for strftime,
since strftime.c uses HAVE_STRFTIME to decide whether to use
the underlying strftime.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Mon, 03 Apr 2000 07:31:59 +0000 |
parents | e4beee1cbe10 |
children | 3afd8708a263 |
files | m4/strftime.m4 |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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)