From a9d71420a6f0161fba5bdb0189c151b94809ad8b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 28 Mar 2003 18:43:31 +0000 Subject: [PATCH] Disable _XOPEN_SOURCE for Solaris 2.6. Fixes #690317. --- configure | 6 +++++- configure.in | 4 ++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a005779b243..5f2c5045b16 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 586e60ad83b..ed1ee952780 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