]> granicus.if.org Git - python/commitdiff
Alas, roll back the definition of _XOPEN_SOURCE. It breaks the tests
authorGuido van Rossum <guido@python.org>
Fri, 19 Jul 2002 19:32:30 +0000 (19:32 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 19 Jul 2002 19:32:30 +0000 (19:32 +0000)
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).

configure
configure.in
pyconfig.h.in

index 007ae0fc6e02f68d287241203f957be54a4a6de8..4bd474084d82d761fe6ec4f3e861102f516f6a99 100755 (executable)
--- 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"
index 3e2143b23ab510aed4447d58905243a29a5a3ed0..208dc056ee75e0c249bde6413096b69838fe7140 100644 (file)
@@ -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"
index 4bfdc30f6e8da7812934db3cefa40234dd72a197..8b149324322ea61d75402d54209d42a418316e50 100644 (file)
 /* 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__