[Python-checkins] python/dist/src configure.in,1.389,1.390 configure,1.378,1.379

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Sun, 23 Feb 2003 14:59:06 -0800


Update of /cvsroot/python/python/dist/src
In directory sc8-pr-cvs1:/tmp/cvs-serv5935

Modified Files:
	configure.in configure 
Log Message:
Disabled -prebind again when linking the interpreter on MacOSX. It caused
a serious slowdown when loading dynamic modules that depend on large shared
libraries or frameworks.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.389
retrieving revision 1.390
diff -C2 -d -r1.389 -r1.390
*** configure.in	19 Feb 2003 15:25:07 -0000	1.389
--- configure.in	23 Feb 2003 22:59:00 -0000	1.390
***************
*** 1165,1173 ****
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		# -prebind causes the executable to assume dynamic libraries are at their
! 		# preferred address, which speeds up startup. We specify it here
! 		# in stead of in LDFLAGS because it does not seem to work for bundle
! 		# plugins (as of OSX 10.2).
! 		LINKFORSHARED="$extra_undefs -framework System -prebind"
  		if test "$enable_framework"
  		then
--- 1165,1172 ----
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		# -prebind is no longer used, because it actually seems to give a
! 		# slowdown in stead of a speedup, maybe due to the large number of
! 		# dynamic loads Python does.
! 		LINKFORSHARED="$extra_undefs -framework System"
  		if test "$enable_framework"
  		then

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.378
retrieving revision 1.379
diff -C2 -d -r1.378 -r1.379
*** configure	19 Feb 2003 15:24:41 -0000	1.378
--- configure	23 Feb 2003 22:59:01 -0000	1.379
***************
*** 9444,9452 ****
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		# -prebind causes the executable to assume dynamic libraries are at their
! 		# preferred address, which speeds up startup. We specify it here
! 		# in stead of in LDFLAGS because it does not seem to work for bundle
! 		# plugins (as of OSX 10.2).
! 		LINKFORSHARED="$extra_undefs -framework System -prebind"
  		if test "$enable_framework"
  		then
--- 9444,9451 ----
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		# -prebind is no longer used, because it actually seems to give a
! 		# slowdown in stead of a speedup, maybe due to the large number of
! 		# dynamic loads Python does.
! 		LINKFORSHARED="$extra_undefs -framework System"
  		if test "$enable_framework"
  		then