[Python-checkins] CVS: python/dist/src configure,1.243,1.244 configure.in,1.251,1.252
Martin v. L?wis
loewis@users.sourceforge.net
Wed, 05 Sep 2001 07:24:46 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv7073
Modified Files:
configure configure.in
Log Message:
Patch #455231: Support ELF properly on OpenBSD.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.243
retrieving revision 1.244
diff -C2 -d -r1.243 -r1.244
*** configure 2001/09/05 08:36:52 1.243
--- configure 2001/09/05 14:24:42 1.244
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.250
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.251
[...2948 lines suppressed...]
if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else
cat > conftest.$ac_ext <<EOF
! #line 7038 "configure"
#include "confdefs.h"
#include <sys/types.h>
***************
*** 7093,7097 ****
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7096: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then
--- 7084,7088 ----
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7087: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.251
retrieving revision 1.252
diff -C2 -d -r1.251 -r1.252
*** configure.in 2001/09/05 08:36:51 1.251
--- configure.in 2001/09/05 14:24:43 1.252
***************
*** 674,686 ****
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
! OpenBSD*) LDSHARED="ld -Bshareable";;
! NetBSD*)
! if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
! then
! LDSHARED="cc -shared"
! else
! LDSHARED="ld -Bshareable"
! fi;;
! FreeBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
--- 674,678 ----
dgux*) LDSHARED="ld -G";;
BSD/OS*/4*) LDSHARED="gcc -shared";;
! OpenBSD*|NetBSD*|FreeBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
***************
*** 717,722 ****
Linux*) CCSHARED="-fPIC";;
BSD/OS*/4*) CCSHARED="-fpic";;
! OpenBSD*) CCSHARED="-fpic";;
! FreeBSD*|NetBSD*) CCSHARED="-fPIC";;
UnixWare*)
if test "$GCC" = "yes"
--- 709,713 ----
Linux*) CCSHARED="-fPIC";;
BSD/OS*/4*) CCSHARED="-fpic";;
! FreeBSD*|NetBSD*|OpenBSD*) CCSHARED="-fPIC";;
UnixWare*)
if test "$GCC" = "yes"
***************
*** 763,767 ****
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
! FreeBSD*|NetBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then
--- 754,758 ----
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
! FreeBSD*|NetBSD*|OpenBSD*)
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
then