]> granicus.if.org Git - python/commitdiff
Modified patch #742126: Don't define _XOPEN_SOURCE for OpenBSD 3.3.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 24 May 2003 12:35:47 +0000 (12:35 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 24 May 2003 12:35:47 +0000 (12:35 +0000)
configure
configure.in

index c5b4a5ceaaa9220d7333cf0514fe193ca9f86a16..d8d5edfb9aa15449b6fd40845c4879df71b6c9d4 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 1.409 .
+# From configure.in Revision: 1.410 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.53 for python 2.3.
 #
@@ -908,7 +908,7 @@ esac
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 # absolute.
 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
@@ -1348,7 +1348,8 @@ fi
 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.
-  OpenBSD/2.* | OpenBSD/3.[012])
+  # Reconfirmed for OpenBSD 3.3 by Zachary Hamm.
+  OpenBSD/2.* | OpenBSD/3.[0123])
     define_xopen_source=no;;
   # On Solaris 2.6, sys/wait.h is inconsistent in the usage
   # of union __?sigval. Reported by Stuart Bishop.
@@ -18202,7 +18203,7 @@ esac
 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
 # absolute.
 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
-ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd`
+ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
 
index bf994af1059b1f2bb2570261c36bb67c2e93d1cc..51b35a9e99f607eaaf3ec4ec7a5c04532e73c3ee 100644 (file)
@@ -123,7 +123,8 @@ dnl quadrigraphs "@<:@" and "@:>@" produce "[" and "]" in the output
 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.
-  OpenBSD/2.* | OpenBSD/3.@<:@012@:>@) 
+  # Reconfirmed for OpenBSD 3.3 by Zachary Hamm.
+  OpenBSD/2.* | OpenBSD/3.@<:@0123@:>@) 
     define_xopen_source=no;;
   # On Solaris 2.6, sys/wait.h is inconsistent in the usage
   # of union __?sigval. Reported by Stuart Bishop.