From 2511522d3b59597e8e43e88fdc894d6544c409fb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 11 May 2017 00:27:52 +0200 Subject: 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. --- modules/time_rz | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) (limited to 'modules/time_rz') 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]) -- cgit v1.2.1