From: Martin v. Löwis Date: Fri, 3 Oct 2003 13:47:44 +0000 (+0000) Subject: Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3. X-Git-Tag: v2.4a1~1475 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=76bafc64ce10b986a9de2db19fc4c72662c31e6b;p=python Patch #814764: Undefine xopen_source on OpenBSD 3.4. Backported to 2.3. --- diff --git a/configure b/configure index 605af7b9fa..53f567c093 100755 --- a/configure +++ b/configure @@ -1437,8 +1437,8 @@ fi case $ac_sys_system/$ac_sys_release in # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, # even though select is a POSIX function. Reported by J. Ribbens. - # Reconfirmed for OpenBSD 3.3 by Zachary Hamm. - OpenBSD/2.* | OpenBSD/3.[0123]) + # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. + OpenBSD/2.* | OpenBSD/3.[01234]) define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop. diff --git a/configure.in b/configure.in index 7b8e62a46a..532b29b363 100644 --- a/configure.in +++ b/configure.in @@ -135,8 +135,8 @@ dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output case $ac_sys_system/$ac_sys_release in # On OpenBSD, select(2) is not available if _XOPEN_SOURCE is defined, # even though select is a POSIX function. Reported by J. Ribbens. - # Reconfirmed for OpenBSD 3.3 by Zachary Hamm. - OpenBSD/2.* | OpenBSD/3.@<:@0123@:>@) + # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. + OpenBSD/2.* | OpenBSD/3.@<:@01234@:>@) define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop.