[Python-checkins] CVS: python/dist/src configure.in,1.123,1.124 configure,1.115,1.116

Greg Ward python-dev@python.org
Fri, 26 May 2000 05:22:58 -0700


Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv25226

Modified Files:
	configure.in configure 
Log Message:
When building on Solaris and the compiler is GCC, use '$(CC) -G' to
create shared extensions rather than 'ld -G'.  This ensures that shared
extensions link against libgcc.a, in case there are any functions in the
GCC runtime not already in the Python core.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.123
retrieving revision 1.124
diff -C2 -r1.123 -r1.124
*** configure.in	2000/05/22 21:31:50	1.123
--- configure.in	2000/05/26 12:22:54	1.124
***************
*** 1,4 ****
  dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.123 $)
  AC_PREREQ(2.0)
  AC_INIT(Include/object.h)
--- 1,4 ----
  dnl Process this file with autoconf 2.0 or later to make a configure script.
! AC_REVISION($Revision: 1.124 $)
  AC_PREREQ(2.0)
  AC_INIT(Include/object.h)
***************
*** 494,498 ****
  	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
  	SunOS/4*) LDSHARED="ld";;
! 	SunOS/5*) LDSHARED="ld -G";;
  	hp*|HP*) LDSHARED="ld -b";;
  	OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
--- 494,502 ----
  	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
  	SunOS/4*) LDSHARED="ld";;
! 	SunOS/5*) 
! 		if test "$GCC" = "yes"
! 		then LDSHARED='$(CC) -G'
! 		else LDSHARED="ld -G";
! 		fi ;;
  	hp*|HP*) LDSHARED="ld -b";;
  	OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.115
retrieving revision 1.116
diff -C2 -r1.115 -r1.116
*** configure	2000/05/22 21:31:50	1.115
--- configure	2000/05/26 12:22:54	1.116
***************
*** 2436,2440 ****
  	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
  	SunOS/4*) LDSHARED="ld";;
! 	SunOS/5*) LDSHARED="ld -G";;
  	hp*|HP*) LDSHARED="ld -b";;
  	OSF*) LDSHARED="ld -shared -expect_unresolved \"*\"";;
--- 2436,2444 ----
  	IRIX*/6*) LDSHARED="ld ${SGI_ABI} -shared -all";;
  	SunOS/4*) LDSHARED="ld";;
! 	SunOS/5*) 
! 		if test "$GCC" = "yes"
[...2258 lines suppressed...]
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5322: checking for socklen_t" >&5
  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 5327 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 5323,5332 ----
  EOF
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5326: checking for socklen_t" >&5
  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 5331 "configure"
  #include "confdefs.h"
  #include <sys/types.h>