[issue28108] Python configure fails to detect tzname on platforms that have it.

Marc-Andre Lemburg report at bugs.python.org
Mon Sep 12 16:20:33 EDT 2016


Marc-Andre Lemburg added the comment:

Looking at the autoconf documentation, HAVE_TZNAME is only set iff struct tm does not have a tm_zone member *and* the external array tzname is found:

https://www.gnu.org/software/autoconf/manual/autoconf-2.64/html_node/Particular-Structures.html

If the struct tm does have a tm_zone member (which it does on Linux), the check for tzname is not even run.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue28108>
_______________________________________


More information about the Python-bugs-list mailing list