]> granicus.if.org Git - python/commitdiff
Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
authorMartin v. Löwis <martin@v.loewis.de>
Mon, 15 Feb 2010 21:41:12 +0000 (21:41 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Mon, 15 Feb 2010 21:41:12 +0000 (21:41 +0000)
Misc/NEWS
configure
configure.in

index 86383e263c48f43da7ba58199138d2b44f838367..4441e9288b06d2925a1e992af4f88461bb78ca38 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -37,7 +37,7 @@ Tests
 Build
 -----
 
-- Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
+- Issue #3920, #7903: Define _BSD_SOURCE on OpenBSD 4.4 through 4.9.
 
 
 What's New in Python 2.7 alpha 3?
index 72be336e47d4edb2afe51946f0303c9a664263ef..1aba38c3d84de21abf18adea087f378f91d95521 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 78154 .
+# From configure.in Revision: 78194 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 2.7.
 #
@@ -2121,7 +2121,9 @@ 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
@@ -2132,7 +2134,7 @@ cat >>confdefs.h <<\_ACEOF
 _ACEOF
 
     ;;
-  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
index 14e62803c46ca056906cbad1c6af0ede307efbde..e153bca6c17432f6207bde8cc84423abda10c9ae 100644 (file)
@@ -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