warnings: fix compilation with old autoconf
[gnulib/ericb.git] / modules / time_rz
blob0285add1214b2e0bbfccef5713cac60075f111a1
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 extensions
22 time
23 flexmember     [test $HAVE_TIMEZONE_T = 0]
24 setenv         [test $HAVE_TIMEZONE_T = 0]
25 stdbool        [test $HAVE_TIMEZONE_T = 0]
26 time_r         [test $HAVE_TIMEZONE_T = 0]
27 timegm         [test $HAVE_TIMEZONE_T = 0]
28 tzset          [test $HAVE_TIMEZONE_T = 0]
29 unsetenv       [test $HAVE_TIMEZONE_T = 0]
31 configure.ac:
32 gl_TIME_RZ
33 if test $HAVE_TIMEZONE_T = 0; then
34   AC_LIBOBJ([time_rz])
36 gl_TIME_MODULE_INDICATOR([time_rz])
38 Makefile.am:
40 Include:
41 <time.h>
43 License:
44 LGPL
46 Maintainer:
47 Paul Eggert