[Python-checkins] CVS: python/dist/src configure,1.249,1.250 configure.in,1.257,1.258

Martin v. L?wis loewis@users.sourceforge.net
Mon, 10 Sep 2001 08:34:44 -0700


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

Modified Files:
	configure configure.in 
Log Message:
Use $(CC) -G to link shared libraries on Solaris.


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.249
retrieving revision 1.250
diff -C2 -d -r1.249 -r1.250
*** configure	2001/09/10 14:10:53	1.249
--- configure	2001/09/10 15:34:41	1.250
***************
*** 3031,3035 ****
  echo "$ac_t""$SO" 1>&6
  # LDSHARED is the ld *command* used to create shared library
! # -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
--- 3031,3035 ----
  echo "$ac_t""$SO" 1>&6
  # LDSHARED is the ld *command* used to create shared library
! # -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
***************
*** 3053,3057 ****
  		if test "$GCC" = "yes"
  		then LDSHARED='$(CC) -shared'
! 		else LDSHARED="ld -G";
  		fi ;;
  	hp*|HP*) LDSHARED="ld -b";;
--- 3053,3057 ----
  		if test "$GCC" = "yes"
  		then LDSHARED='$(CC) -shared'
! 		else LDSHARED="$(CC) -G";
  		fi ;;
  	hp*|HP*) LDSHARED="ld -b";;

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.257
retrieving revision 1.258
diff -C2 -d -r1.257 -r1.258
*** configure.in	2001/09/10 14:10:54	1.257
--- configure.in	2001/09/10 15:34:42	1.258
***************
*** 651,655 ****
  AC_MSG_RESULT($SO)
  # LDSHARED is the ld *command* used to create shared library
! # -- "ld" on SunOS 4.x.x, "ld -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
--- 651,655 ----
  AC_MSG_RESULT($SO)
  # LDSHARED is the ld *command* used to create shared library
! # -- "ld" on SunOS 4.x.x, "cc -G" on SunOS 5.x, "ld -shared" on IRIX 5
  # (Shared libraries in this instance are shared modules to be loaded into
  # Python, as opposed to building Python itself as a shared library.)
***************
*** 672,676 ****
  		if test "$GCC" = "yes"
  		then LDSHARED='$(CC) -shared'
! 		else LDSHARED="ld -G";
  		fi ;;
  	hp*|HP*) LDSHARED="ld -b";;
--- 672,676 ----
  		if test "$GCC" = "yes"
  		then LDSHARED='$(CC) -shared'
! 		else LDSHARED="$(CC) -G";
  		fi ;;
  	hp*|HP*) LDSHARED="ld -b";;