From 35b30a8d0c506c861475fa5ce394900adfb2f0ed Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Fri, 26 Nov 1999 17:07:41 +0000 Subject: Add reentrant versions of ctime, localtime, gmtime, asctime. These cannot be implemented platform-independent, so we fall back to the native non-reentrant versions, but lock during each access (only if ZTS is used). To initialize/destroy the used data structures, you need to call reentrancy_startup() before sapi_startup(), and reentrancy_shutdown() after sapi_shutdown(). --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') diff --git a/configure.in b/configure.in index e466f727a9..ec309aa053 100644 --- a/configure.in +++ b/configure.in @@ -292,15 +292,19 @@ AC_CHECK_TYPE( ulong, unsigned long ) dnl Checks for library functions. AC_FUNC_VPRINTF AC_CHECK_FUNCS( +asctime_r \ crypt \ +ctime_r \ cuserid \ flock \ gcvt \ getlogin \ gethostbyaddr \ gettimeofday \ +gmtime_r \ inet_aton \ link \ +localtime_r \ lockf \ lrand48 \ memcpy \ -- cgit v1.2.1