diff options
author | Bruno Haible <bruno@clisp.org> | 2017-05-11 00:27:52 +0200 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2017-05-11 00:27:52 +0200 |
commit | 2511522d3b59597e8e43e88fdc894d6544c409fb (patch) | |
tree | 278846d742ac6a68cb05d6f72a50ccec7d60de12 /modules/time_rz | |
parent | f16bb1a764c350cd9adf9f40b47ae93fb5660262 (diff) | |
download | gnulib-2511522d3b59597e8e43e88fdc894d6544c409fb.tar.gz |
time: Fix missing initialization of HAVE_TIMEZONE_T.
* m4/time_h.m4 (gl_HEADER_TIME_H_DEFAULTS): Initialize HAVE_TIMEZONE_T
here...
* m4/sys_time_h.m4 (gl_HEADER_SYS_TIME_H_DEFAULTS): ... not here.
* m4/time_rz.m4 (gl_TIME_RZ): Require gl_HEADER_TIME_H_DEFAULTS, not
gl_HEADER_SYS_TIME_H_DEFAULTS.
* modules/time_rz (Depends-on): Add 'time'. Remove useless quoting.
(configure.ac): Remove useless quoting.
Diffstat (limited to 'modules/time_rz')
-rw-r--r-- | modules/time_rz | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/modules/time_rz b/modules/time_rz index 1bc29f401f..0285add121 100644 --- a/modules/time_rz +++ b/modules/time_rz @@ -19,17 +19,18 @@ m4/time_rz.m4 Depends-on: extensions -flexmember [test "$HAVE_TIMEZONE_T" = 0] -setenv [test "$HAVE_TIMEZONE_T" = 0] -stdbool [test "$HAVE_TIMEZONE_T" = 0] -time_r [test "$HAVE_TIMEZONE_T" = 0] -timegm [test "$HAVE_TIMEZONE_T" = 0] -tzset [test "$HAVE_TIMEZONE_T" = 0] -unsetenv [test "$HAVE_TIMEZONE_T" = 0] +time +flexmember [test $HAVE_TIMEZONE_T = 0] +setenv [test $HAVE_TIMEZONE_T = 0] +stdbool [test $HAVE_TIMEZONE_T = 0] +time_r [test $HAVE_TIMEZONE_T = 0] +timegm [test $HAVE_TIMEZONE_T = 0] +tzset [test $HAVE_TIMEZONE_T = 0] +unsetenv [test $HAVE_TIMEZONE_T = 0] configure.ac: gl_TIME_RZ -if test "$HAVE_TIMEZONE_T" = 0; then +if test $HAVE_TIMEZONE_T = 0; then AC_LIBOBJ([time_rz]) fi gl_TIME_MODULE_INDICATOR([time_rz]) |