]> granicus.if.org Git - python/commitdiff
Fix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
authorNeal Norwitz <nnorwitz@gmail.com>
Mon, 9 Jan 2006 07:07:12 +0000 (07:07 +0000)
committerNeal Norwitz <nnorwitz@gmail.com>
Mon, 9 Jan 2006 07:07:12 +0000 (07:07 +0000)
configure would break checking curses.h.

Will backport.

Misc/NEWS
configure
configure.in

index 2065ede0e411606c750f19b8cf432ef75a2200dc..ab8dba51b11dd07248effc4c4dd3b48569c2d5cc 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
 Core and builtins
 -----------------
 
+- Bug #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
+  configure would break checking curses.h.
+
 - Bug #959576: The pwd module is now builtin. This allows Python to be
   built on UNIX platforms without $HOME set.
 
index 8a05757b1208fc9ab3035167e109c94d27925ae1..38817f855d15f8d6bf72e54df4c2e1033551697b 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 41953 .
+# From configure.in Revision: 41975 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.59 for python 2.5.
 #
@@ -1480,7 +1480,7 @@ 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.[0123456])
+  OpenBSD/2.* | OpenBSD/3.[012345678])
     define_xopen_source=no;;
   # On Solaris 2.6, sys/wait.h is inconsistent in the usage
   # of union __?sigval. Reported by Stuart Bishop.
@@ -3431,7 +3431,7 @@ _ACEOF
          ;;
     OSF*)
          LDLIBRARY='libpython$(VERSION).so'
-         BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
+         BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
          RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
          ;;
     atheos*)
index 5bdd903508e9625a552538db4c3463a3755db565..7ab92e087ae45a4d99de02d2154d53466111057e 100644 (file)
@@ -140,7 +140,7 @@ 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.@<:@0123456@:>@) 
+  OpenBSD/2.* | OpenBSD/3.@<:@012345678@:>@) 
     define_xopen_source=no;;
   # On Solaris 2.6, sys/wait.h is inconsistent in the usage
   # of union __?sigval. Reported by Stuart Bishop.
@@ -594,7 +594,7 @@ if test $enable_shared = "yes"; then
          ;;
     OSF*)
          LDLIBRARY='libpython$(VERSION).so'
-         BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
+         BLDLIBRARY='-rpath $(LIBDIR) -L. -lpython$(VERSION)'
          RUNSHARED=LD_LIBRARY_PATH=`pwd`:${LD_LIBRARY_PATH}
          ;;
     atheos*)