summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-03-28 18:43:31 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-03-28 18:43:31 (GMT)
commita9d71420a6f0161fba5bdb0189c151b94809ad8b (patch)
tree71a938ad007692f37d0fc0b3ae0afba274612590
parent4daacb1a829a7c2c5c70fffb188d165e6fad2f95 (diff)
downloadcpython-a9d71420a6f0161fba5bdb0189c151b94809ad8b.zip
cpython-a9d71420a6f0161fba5bdb0189c151b94809ad8b.tar.gz
cpython-a9d71420a6f0161fba5bdb0189c151b94809ad8b.tar.bz2
Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317.
-rwxr-xr-xconfigure6
-rw-r--r--configure.in4
2 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index a005779..5f2c504 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.395 .
+# From configure.in Revision: 1.396 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -1341,6 +1341,10 @@ case $ac_sys_system/$ac_sys_release in
# even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.[012])
define_xopen_source=no;;
+ # On Solaris 2.6, sys/wait.h is inconsistent in the usage
+ # of union __?sigval. Reported by Stuart Bishop.
+ SunOS/5.6)
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes
diff --git a/configure.in b/configure.in
index 586e60a..ed1ee95 100644
--- a/configure.in
+++ b/configure.in
@@ -120,6 +120,10 @@ case $ac_sys_system/$ac_sys_release in
# even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.@<:@012@:>@)
define_xopen_source=no;;
+ # On Solaris 2.6, sys/wait.h is inconsistent in the usage
+ # of union __?sigval. Reported by Stuart Bishop.
+ SunOS/5.6)
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes