Avoid "warning: The macro `AC_DECL_SYS_SIGLIST' is obsolete".
[gnulib.git] / modules / time_rz
blob699a61d56fcf3cacf7859c2cb5309726943e13eb
1 Description:
2 Reentrant time zone functions: localtime_rz, mktime_z, etc.
4 Comment:
5 This implements the NetBSD-inspired extensions to <time.h>, which
6 defines a type timezone_t and associated allocation functions tzalloc
7 and tzfree, along with two functions localtime_rz and mktime_z that
8 are like localtime_r and mktime except they have a new leading
9 timezone_t argument.  Time zone abbreviation strings have lifetimes
10 equal to the corresponding struct tm or timezone_t object (whichever
11 is less).  tzalloc (X) yields a time zone object equivalent to setting
12 the TZ environment variable to X.  tzalloc (NULL) is the same as an
13 unset TZ environment variable.  (timezone_t) 0 stands for UTC.
15 Files:
16 lib/time-internal.h
17 lib/time_rz.c
18 m4/time_rz.m4
20 Depends-on:
21 c99
22 extensions
23 time
24 flexmember     [test $HAVE_TIMEZONE_T = 0]
25 setenv         [test $HAVE_TIMEZONE_T = 0]
26 stdbool        [test $HAVE_TIMEZONE_T = 0]
27 time_r         [test $HAVE_TIMEZONE_T = 0]
28 timegm         [test $HAVE_TIMEZONE_T = 0]
29 tzset          [test $HAVE_TIMEZONE_T = 0]
30 unsetenv       [test $HAVE_TIMEZONE_T = 0]
32 configure.ac:
33 gl_TIME_RZ
34 if test $HAVE_TIMEZONE_T = 0; then
35   AC_LIBOBJ([time_rz])
37 gl_TIME_MODULE_INDICATOR([time_rz])
39 Makefile.am:
41 Include:
42 <time.h>
44 License:
45 LGPL
47 Maintainer:
48 Paul Eggert