summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-05-05 05:13:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-05-05 05:13:18 (GMT)
commit53e73c36ee52a646f4460f82fbcbd1fd36e188a9 (patch)
tree0a5bef72c9d03425a73ca366963a54a7a9a1b0f4
parent5f433f0ef4f283b7d5a76cafd22dc8a9d5ac1bcd (diff)
downloadcpython-53e73c36ee52a646f4460f82fbcbd1fd36e188a9.zip
cpython-53e73c36ee52a646f4460f82fbcbd1fd36e188a9.tar.gz
cpython-53e73c36ee52a646f4460f82fbcbd1fd36e188a9.tar.bz2
Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7.
-rwxr-xr-xconfigure6
-rw-r--r--configure.in4
2 files changed, 9 insertions, 1 deletions
diff --git a/configure b/configure
index d5cc892..31f7ae63 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.405 .
+# From configure.in Revision: 1.406 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -1354,6 +1354,10 @@ case $ac_sys_system/$ac_sys_release in
# of union __?sigval. Reported by Stuart Bishop.
SunOS/5.6)
define_xopen_source=no;;
+ # On UnixWare 7, u_short is never defined with _XOPEN_SOURCE,
+ # but used in struct sockaddr.sa_family. Reported by Tim Rice.
+ OpenUNIX/8.0| UnixWare/7.1.[13])
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes
diff --git a/configure.in b/configure.in
index fdda1f7..5918bb0 100644
--- a/configure.in
+++ b/configure.in
@@ -129,6 +129,10 @@ case $ac_sys_system/$ac_sys_release in
# of union __?sigval. Reported by Stuart Bishop.
SunOS/5.6)
define_xopen_source=no;;
+ # On UnixWare 7, u_short is never defined with _XOPEN_SOURCE,
+ # but used in struct sockaddr.sa_family. Reported by Tim Rice.
+ OpenUNIX/8.0| UnixWare/7.1.@<:@13@:>@)
+ define_xopen_source=no;;
esac
if test $define_xopen_source = yes