[Python-checkins] CVS: python/dist/src configure,1.178,1.179 configure.in,1.186,1.187

Guido van Rossum python-dev@python.org
Wed, 10 Jan 2001 13:41:18 -0800


Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv6799

Modified Files:
	configure configure.in 
Log Message:
SF Patch #102362 by bbum: Support dynamic module loading under OSX
[including support for modules w/Objective-C].



Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.178
retrieving revision 1.179
diff -C2 -r1.178 -r1.179
*** configure	2001/01/10 21:09:12	1.178
--- configure	2001/01/10 21:41:14	1.179
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.185 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.187 
  
[...2564 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 6132 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 6162,6166 ****
  
  echo $ac_n "checking for Modules/Setup""... $ac_c" 1>&6
! echo "configure:6165: checking for Modules/Setup" >&5
  if test ! -f Modules/Setup ; then
      if test ! -d Modules ; then
--- 6158,6162 ----
  
  echo $ac_n "checking for Modules/Setup""... $ac_c" 1>&6
! echo "configure:6161: checking for Modules/Setup" >&5
  if test ! -f Modules/Setup ; then
      if test ! -d Modules ; then

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.186
retrieving revision 1.187
diff -C2 -r1.186 -r1.187
*** configure.in	2001/01/10 21:09:12	1.186
--- configure.in	2001/01/10 21:41:16	1.187
***************
*** 610,618 ****
          Darwin/*|next/*) 
  		if test "$ns_dyld"
! 		then 
! 		  if test "$ac_sys_system" = Darwin
! 		  then LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined suppress'
! 		  else LDSHARED='$(CC) $(LDFLAGS) -bundle -prebind'
! 		  fi
  		else LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';
  		fi
--- 610,614 ----
          Darwin/*|next/*) 
  		if test "$ns_dyld"
! 		then LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined suppress'
  		else LDSHARED='$(CC) $(CFLAGS) -nostdlib -r';
  		fi
***************
*** 687,691 ****
  	# loading of any modules which reference it in System.framework
  	next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
! 	Darwin/*) LINKFORSHARED="-framework System" ;;
  	SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
  	ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;
--- 683,687 ----
  	# loading of any modules which reference it in System.framework
  	next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
! 	Darwin/*) LINKFORSHARED="-u __dummy -framework System -framework Foundation" ;;
  	SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
  	ReliantUNIX*) LINKFORSHARED="-W1 -Blargedynsym";;