[Python-checkins] python/dist/src configure,1.322,1.323 configure.in,1.333,1.334 pyconfig.h.in,1.43,1.44

Tim Peters tim.one@comcast.net
Fri, 19 Jul 2002 16:06:24 -0400


[Guido]
> Alas, roll back the definition of _XOPEN_SOURCE.  It breaks the tests
> for the time module, because somehow configure won't define the
> symbols HAVE_STRUCT_TM_TM_ZONE, HAVE_TM_ZONE, and HAVE_TZNAME in this
> case.

I don't understand why this helps.  Are you sure it does?  Python.h still
contains:

#ifndef _XOPEN_SOURCE
# define _XOPEN_SOURCE 500
#endif

The configure changes were consequences of that change, IIRC.  We surely
shouldn't be defining this one way in Python.h and a different way in
config, right?