summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-11-25 15:39:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-11-25 15:39:19 (GMT)
commit4d542ec13cb863de8d02edbd5824892ba538b3d3 (patch)
treed16bffbd04356626f90662dedeb1fb67a8576478 /configure.in
parent25d208bd464aa6b1bde8a30cc71327133edaeeb3 (diff)
downloadcpython-4d542ec13cb863de8d02edbd5824892ba538b3d3.zip
cpython-4d542ec13cb863de8d02edbd5824892ba538b3d3.tar.gz
cpython-4d542ec13cb863de8d02edbd5824892ba538b3d3.tar.bz2
Disable _XOPEN_SOURCE on NetBSD 1.x.
Will backport to 2.5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 41c0eb5..1259ccf 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)