diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2010-02-15 21:41:12 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2010-02-15 21:41:12 (GMT) |
commit | 7875ef67cd036409bff6bf78f5ffacca7adc7188 (patch) | |
tree | 149cda89b3fa8821e163894aa170dca10221575f /configure.in | |
parent | cef34099b5a9384bab862e45b6438b86315f571c (diff) | |
download | cpython-7875ef67cd036409bff6bf78f5ffacca7adc7188.zip cpython-7875ef67cd036409bff6bf78f5ffacca7adc7188.tar.gz cpython-7875ef67cd036409bff6bf78f5ffacca7adc7188.tar.bz2 |
Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/configure.in b/configure.in index 14e6280..e153bca 100644 --- a/configure.in +++ b/configure.in @@ -285,14 +285,16 @@ 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.@<:@0123456789@:>@ | OpenBSD/4.@<:@0123@:>@) + # 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@:>@) 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.@<:@4@:>@) + OpenBSD/4.@<:@789@:>@) # 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 |