nstrftime, time_rz: Avoid using an obsolete Autoconf macro.
commite1e8bf6b33059ff78ee9a62534032836f6ea58ce
authorBruno Haible <bruno@clisp.org>
Mon, 4 Jan 2021 21:39:23 +0000 (4 22:39 +0100)
committerBruno Haible <bruno@clisp.org>
Mon, 4 Jan 2021 21:40:43 +0000 (4 22:40 +0100)
tree5faa7f0ffe8396e2f08566c3b32af32abdc4fe99
parent571a0fae2eb770dfe1189993d0f97b6dad01a90b
nstrftime, time_rz: Avoid using an obsolete Autoconf macro.

Reported by Mike Gran <spk121@yahoo.com> in
<https://lists.gnu.org/archive/html/bug-gnulib/2021-01/msg00067.html>.

* lib/time-internal.h: Test HAVE_STRUCT_TM_TM_ZONE, not HAVE_TM_ZONE.
* lib/time_rz.c: Likewise.
* lib/nstrftime.c: Set and test HAVE_STRUCT_TM_TM_ZONE, not
HAVE_TM_ZONE.
* m4/nstrftime.m4 (gl_FUNC_GNU_STRFTIME): Update comments.
ChangeLog
lib/nstrftime.c
lib/time-internal.h
lib/time_rz.c
m4/nstrftime.m4