summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2003-05-03 10:32:18 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2003-05-03 10:32:18 (GMT)
commitbcd93962ce27d969ff9a186e8e679c2a57620799 (patch)
tree57053bb16790b89ce55196cf34b2959d9340fdb2 /configure
parente941617671ece6ee7d4e1ad981d5499b03827f9a (diff)
downloadcpython-bcd93962ce27d969ff9a186e8e679c2a57620799.zip
cpython-bcd93962ce27d969ff9a186e8e679c2a57620799.tar.gz
cpython-bcd93962ce27d969ff9a186e8e679c2a57620799.tar.bz2
Patch #730826: Enable extensions on NetBSD 2.0.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure11
1 files changed, 10 insertions, 1 deletions
diff --git a/configure b/configure
index d47a098..13303e3 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.401 .
+# From configure.in Revision: 1.402 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -1252,6 +1252,15 @@ cat >>confdefs.h <<\_ACEOF
_ACEOF
+# The later defininition of _XOPEN_SOURCE and _POSIX_C_SOURCE disables
+# certain features on NetBSD, so we need _NETBSD_SOURCE to re-enable
+# them.
+
+cat >>confdefs.h <<\_ACEOF
+#define _NETBSD_SOURCE 1
+_ACEOF
+
+
define_xopen_source=yes
# Arguments passed to configure.