From: Martin v. Löwis Date: Sat, 3 Jun 2006 07:40:03 +0000 (+0000) Subject: Backport of 46608: Port to OpenBSD 3.9. X-Git-Tag: v2.4.4c1~210 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d12887010d45496bb3bbdd34f491edc152ea814a;p=thirdparty%2FPython%2Fcpython.git Backport of 46608: Port to OpenBSD 3.9. --- diff --git a/Misc/NEWS b/Misc/NEWS index 392e37f5922d..e9b9b114c29f 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -60,6 +60,8 @@ Tools/Demos Build ----- +- OpenBSD 3.9 is now supported. + - Test for sys/statvfs.h before including it, as statvfs is present on some OSX installation, but its header file is not. diff --git a/configure b/configure index 8c7467195868..701ac82fc65a 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 43618 . +# From configure.in Revision: 46011 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for python 2.4. # @@ -1480,7 +1480,7 @@ 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, for 3.4 by Jason Ish. - OpenBSD/2.* | OpenBSD/3.[012345678]) + OpenBSD/2.* | OpenBSD/3.[0123456789]) define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop. @@ -10386,13 +10386,27 @@ then ;; Linux*|GNU*) LDSHARED='$(CC) -shared';; BSD/OS*/4*) LDSHARED="gcc -shared";; - OpenBSD*|FreeBSD*) + FreeBSD*) if [ "`$CC -dM -E - @) + OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@) define_xopen_source=no;; # On Solaris 2.6, sys/wait.h is inconsistent in the usage # of union __?sigval. Reported by Stuart Bishop. @@ -1385,13 +1385,27 @@ then ;; Linux*|GNU*) LDSHARED='$(CC) -shared';; BSD/OS*/4*) LDSHARED="gcc -shared";; - OpenBSD*|FreeBSD*) + FreeBSD*) if [[ "`$CC -dM -E -