Issue #12592: Make Python build on OpenBSD 5 (and future major releases).

This commit is contained in:
Charles-François Natali 2011-07-22 23:48:44 +02:00
parent 180e63507d
commit beed47ec0e
3 changed files with 291 additions and 312 deletions

View File

@ -37,6 +37,8 @@ Core and Builtins
Library Library
------- -------
- Issue #12592: Make Python build on OpenBSD 5 (and future major releases).
- Issue #12372: POSIX semaphores are broken on AIX: don't use them. - Issue #12372: POSIX semaphores are broken on AIX: don't use them.
- Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2 - Issue #12571: Add a plat-linux3 directory mirroring the plat-linux2

589
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -313,14 +313,14 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish. # Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
# In addition, Stefan Krah confirms that issue #1244610 exists through # In addition, Stefan Krah confirms that issue #1244610 exists through
# OpenBSD 4.6, but is fixed in 4.7. # OpenBSD 4.6, but is fixed in 4.7.
OpenBSD/2.* | OpenBSD/3.@<:@0123456789@:>@ | OpenBSD/4.@<:@0123456@:>@) OpenBSD/2.* | OpenBSD/3.* | OpenBSD/4.@<:@0123456@:>@)
define_xopen_source=no define_xopen_source=no
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE # also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD # As this has a different meaning on Linux, only define it on OpenBSD
AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features]) AC_DEFINE(_BSD_SOURCE, 1, [Define on OpenBSD to activate all library features])
;; ;;
OpenBSD/4.@<:@789@:>@) OpenBSD/*)
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is # OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE # also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD # As this has a different meaning on Linux, only define it on OpenBSD