summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2002-07-19 19:32:30 (GMT)
committerGuido van Rossum <guido@python.org>2002-07-19 19:32:30 (GMT)
commite5bd2f44475f382c78cbfb54a5443956f8b680ce (patch)
treeb94dfcf6cb7b6b6a8b2e187bbb21e076dd57fea4
parent246a58a10bd45b56042c913f726ae94f18ebbf66 (diff)
downloadcpython-e5bd2f44475f382c78cbfb54a5443956f8b680ce.zip
cpython-e5bd2f44475f382c78cbfb54a5443956f8b680ce.tar.gz
cpython-e5bd2f44475f382c78cbfb54a5443956f8b680ce.tar.bz2
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).
-rwxr-xr-xconfigure8
-rw-r--r--configure.in2
-rw-r--r--pyconfig.h.in3
3 files changed, 1 insertions, 12 deletions
diff --git a/configure b/configure
index 007ae0f..4bd4740 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.332 .
+# From configure.in Revision: 1.333 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53.
#
@@ -1225,12 +1225,6 @@ VERSION=2.3
SOVERSION=1.0
-
-cat >>confdefs.h <<\_ACEOF
-#define _XOPEN_SOURCE 500
-_ACEOF
-
-
# Arguments passed to configure.
CONFIG_ARGS="$ac_configure_args"
diff --git a/configure.in b/configure.in
index 3e2143b..208dc05 100644
--- a/configure.in
+++ b/configure.in
@@ -20,8 +20,6 @@ VERSION=2.3
AC_SUBST(SOVERSION)
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)
CONFIG_ARGS="$ac_configure_args"
diff --git a/pyconfig.h.in b/pyconfig.h.in
index 4bfdc30..8b14932 100644
--- a/pyconfig.h.in
+++ b/pyconfig.h.in
@@ -773,9 +773,6 @@
/* Define to force use of thread-safe errno, h_errno, and other functions */
#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__
# undef __CHAR_UNSIGNED__