Patch #732284: Disable _XOPEN_SOURCE on UnixWare 7.

This commit is contained in:
Martin v. Löwis 2003-05-05 05:13:18 +00:00
parent 5f433f0ef4
commit 53e73c36ee
2 changed files with 9 additions and 1 deletions

6
configure vendored
View File

@ -1,5 +1,5 @@
#! /bin/sh #! /bin/sh
# From configure.in Revision: 1.405 . # From configure.in Revision: 1.406 .
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3. # 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. # of union __?sigval. Reported by Stuart Bishop.
SunOS/5.6) SunOS/5.6)
define_xopen_source=no;; 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 esac
if test $define_xopen_source = yes if test $define_xopen_source = yes

View File

@ -129,6 +129,10 @@ case $ac_sys_system/$ac_sys_release in
# of union __?sigval. Reported by Stuart Bishop. # of union __?sigval. Reported by Stuart Bishop.
SunOS/5.6) SunOS/5.6)
define_xopen_source=no;; 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 esac
if test $define_xopen_source = yes if test $define_xopen_source = yes