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

gvanrossum@users.sourceforge.net gvanrossum@users.sourceforge.net
Fri, 19 Jul 2002 12:32:32 -0700


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv20197

Modified Files:
	configure configure.in pyconfig.h.in 
Log Message:
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've got no time to research this further, so I leave it in Jeremy and
Martin's capable hands to find a different solution for True64 (or to
devise a way to get the time tests to succeed while defining
_XOPEN_SOURCE).



Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.322
retrieving revision 1.323
diff -C2 -d -r1.322 -r1.323
*** configure	19 Jul 2002 06:55:40 -0000	1.322
--- configure	19 Jul 2002 19:32:26 -0000	1.323
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.332 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.333 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53.
***************
*** 1225,1234 ****
  
  SOVERSION=1.0
- 
- 
- cat >>confdefs.h <<\_ACEOF
- #define _XOPEN_SOURCE 500
- _ACEOF
- 
  
  # Arguments passed to configure.
--- 1225,1228 ----

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.333
retrieving revision 1.334
diff -C2 -d -r1.333 -r1.334
*** configure.in	19 Jul 2002 06:55:40 -0000	1.333
--- configure.in	19 Jul 2002 19:32:30 -0000	1.334
***************
*** 21,26 ****
  SOVERSION=1.0
  
- AC_DEFINE(_XOPEN_SOURCE, 500, [Needed on Tru64 and does no harm on Linux])
- 
  # Arguments passed to configure.
  AC_SUBST(CONFIG_ARGS)
--- 21,24 ----

Index: pyconfig.h.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/pyconfig.h.in,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** pyconfig.h.in	19 Jul 2002 06:55:40 -0000	1.43
--- pyconfig.h.in	19 Jul 2002 19:32:30 -0000	1.44
***************
*** 774,780 ****
  #undef _REENTRANT
  
- /* Needed on Tru64 and does no harm on Linux */
- #undef _XOPEN_SOURCE
- 
  /* Define to 1 if type `char' is unsigned and you are not using gcc.  */
  #ifndef __CHAR_UNSIGNED__
--- 774,777 ----