diff options
author | Charles-François Natali <neologix@free.fr> | 2011-07-22 21:48:44 (GMT) |
---|---|---|
committer | Charles-François Natali <neologix@free.fr> | 2011-07-22 21:48:44 (GMT) |
commit | beed47ec0e2f279404dc61656a1126402e88fe18 (patch) | |
tree | a79ad732568671a7885d699f34ff14d53139ee7d /configure.in | |
parent | 180e63507dde824afb48ea9c1649755b79258935 (diff) | |
download | cpython-beed47ec0e2f279404dc61656a1126402e88fe18.zip cpython-beed47ec0e2f279404dc61656a1126402e88fe18.tar.gz cpython-beed47ec0e2f279404dc61656a1126402e88fe18.tar.bz2 |
Issue #12592: Make Python build on OpenBSD 5 (and future major releases).
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/configure.in b/configure.in index de743ca..c439d5a 100644 --- a/configure.in +++ b/configure.in @@ -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. # 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 |