Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317.

This commit is contained in:
Martin v. Löwis 2003-03-28 18:43:31 +00:00
parent 4daacb1a82
commit a9d71420a6
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.395 . # From configure.in Revision: 1.396 .
# 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.
# #
@ -1341,6 +1341,10 @@ case $ac_sys_system/$ac_sys_release in
# even though select is a POSIX function. Reported by J. Ribbens. # even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.[012]) OpenBSD/2.* | OpenBSD/3.[012])
define_xopen_source=no;; 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 esac
if test $define_xopen_source = yes if test $define_xopen_source = yes

View File

@ -120,6 +120,10 @@ case $ac_sys_system/$ac_sys_release in
# even though select is a POSIX function. Reported by J. Ribbens. # even though select is a POSIX function. Reported by J. Ribbens.
OpenBSD/2.* | OpenBSD/3.@<:@012@:>@) OpenBSD/2.* | OpenBSD/3.@<:@012@:>@)
define_xopen_source=no;; 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 esac
if test $define_xopen_source = yes if test $define_xopen_source = yes