summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorCharles-François Natali <neologix@free.fr>2011-07-22 21:52:02 (GMT)
committerCharles-François Natali <neologix@free.fr>2011-07-22 21:52:02 (GMT)
commit54ef40b00052166548e3f050446ca0b134424f93 (patch)
tree45702716c54bb2b47a5e964aab2837a6dc6a6ba2 /configure.in
parent8a4b42b7f4ca0458a5a4aae24f42e207309b19b2 (diff)
downloadcpython-54ef40b00052166548e3f050446ca0b134424f93.zip
cpython-54ef40b00052166548e3f050446ca0b134424f93.tar.gz
cpython-54ef40b00052166548e3f050446ca0b134424f93.tar.bz2
Merge - Issue #12592: Make Python build on OpenBSD 5 (and future major
releases).
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in
index 2955605..bf12981 100644
--- a/configure.in
+++ b/configure.in
@@ -327,14 +327,14 @@ case $ac_sys_system/$ac_sys_release in
# Reconfirmed for OpenBSD 3.3 by Zachary Hamm, for 3.4 by Jason Ish.
# In addition, Stefan Krah confirms that issue #1244610 exists through
# 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
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
# 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])
;;
- OpenBSD/4.@<:@789@:>@)
+ OpenBSD/*)
# OpenBSD undoes our definition of __BSD_VISIBLE if _XOPEN_SOURCE is
# also defined. This can be overridden by defining _BSD_SOURCE
# As this has a different meaning on Linux, only define it on OpenBSD