diff options
| author | Sascha Schumann <sas@php.net> | 1999-11-26 17:07:41 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-11-26 17:07:41 +0000 |
| commit | 35b30a8d0c506c861475fa5ce394900adfb2f0ed (patch) | |
| tree | 262f8ec640709e73f5249b5691df06c632a48ed9 /configure.in | |
| parent | 2f6ded9ac9bb8826eb9b3b79b8cdc018c90aff54 (diff) | |
| download | php-git-35b30a8d0c506c861475fa5ce394900adfb2f0ed.tar.gz | |
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().
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 4 |
1 files changed, 4 insertions, 0 deletions
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 \ |
