diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-11-25 15:39:28 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-11-25 15:39:28 +0000 |
commit | 9147f7ed8bca93527f05be82ae741320e8374ca3 (patch) | |
tree | 6d68eb591bfb37601f6cd7e7c4f8bdc7ab8819aa | |
parent | 558e56d5995a2c167070b397e7fcc1f4eb1f3c0a (diff) | |
download | cpython-git-9147f7ed8bca93527f05be82ae741320e8374ca3.tar.gz |
Disable _XOPEN_SOURCE on NetBSD 1.x.
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rwxr-xr-x | configure | 7 | ||||
-rw-r--r-- | configure.in | 5 |
3 files changed, 13 insertions, 1 deletions
@@ -201,6 +201,8 @@ Tests Build ----- +- Disable _XOPEN_SOURCE on NetBSD 1.x. + - Bug #1578513: Cross compilation was broken by a change to configure. Repair so that it's back to how it was in 2.4.3. @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 52455 . +# From configure.in Revision: 52457 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for python 2.5. # @@ -1555,6 +1555,11 @@ case $ac_sys_system/$ac_sys_release in # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. OpenBSD/2.* | OpenBSD/3.[0123456789] | OpenBSD/4.[0]) define_xopen_source=no;; + # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of + # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by + # Marc Recht + NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6A-S) + 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) diff --git a/configure.in b/configure.in index cd9161b813..9d446c6bf2 100644 --- a/configure.in +++ b/configure.in @@ -203,6 +203,11 @@ case $ac_sys_system/$ac_sys_release in # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@ | OpenBSD/4.@<:@0@:>@) define_xopen_source=no;; + # Defining _XOPEN_SOURCE on NetBSD version prior to the introduction of + # _NETBSD_SOURCE disables certain features (eg. setgroups). Reported by + # Marc Recht + NetBSD/1.5 | NetBSD/1.5.* | NetBSD/1.6 | NetBSD/1.6.* | NetBSD/1.6[A-S]) + 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) |