diff options
author | Gary Houston <ghouston@arglist.com> | 2000-01-09 20:50:03 +0000 |
---|---|---|
committer | Gary Houston <ghouston@arglist.com> | 2000-01-09 20:50:03 +0000 |
commit | 38c1d3c4d55fa98157e67badd955600483d32127 (patch) | |
tree | ef955f68e0dba7a1e5b29773e703f2f6330f941f /acconfig.h | |
parent | b9bb8cab624d22dd87efa0a0ff98772deda8129b (diff) | |
download | guile-38c1d3c4d55fa98157e67badd955600483d32127.tar.gz |
* configure.in: check whether localtime caches TZ. copied from
Emacs 20.5.
* acconfig.h: add LOCALTIME_CACHE.
* These changes should make it unnecessary to call tzset from
Scheme after modifying the TZ environment variable, even if the
system date facilities cache the value.
* stime.c (setzone, scm_localtime): added comments.
(tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
(setzone): don't call tzset.
(restorezone): call tzset only if HAVE_TZSET is defined.
(scm_tzset): don't define if HAVE_TZSET not defined. Change the
doc string to indicate that this procedure isn't likely to do
anything useful.
(scm_localtime, scm_strftime, scm_mktime): call tzset if
LOCALTIME_CACHE is defined.
Diffstat (limited to 'acconfig.h')
-rw-r--r-- | acconfig.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/acconfig.h b/acconfig.h index 44f90ec6c..f59994199 100644 --- a/acconfig.h +++ b/acconfig.h @@ -110,6 +110,9 @@ /* Define if dlsym automatically supplies a leading underscore. */ #undef DLSYM_ADDS_USCORE +/* Define if localtime caches the TZ setting. */ +#undef LOCALTIME_CACHE + /* Define if the operating system can restart system calls. */ #undef HAVE_RESTARTS |