[Python-checkins] CVS: python/dist/src configure,1.165,1.165.2.1 configure.in,1.173,1.173.2.1

Moshe Zadka moshez@users.sourceforge.net
Sat, 31 Mar 2001 06:48:40 -0800


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

Modified Files:
      Tag: release20-maint
	configure configure.in 
Log Message:
- #117606 - configure.in, configure - use gcc -shared and gcc -fPIC


Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.165
retrieving revision 1.165.2.1
diff -C2 -r1.165 -r1.165.2.1
*** configure	2000/10/16 16:59:12	1.165
--- configure	2001/03/31 14:48:35	1.165.2.1
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.172 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.173 
  
[...3153 lines suppressed...]
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5893: 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 5898 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
--- 5900,5909 ----
  EOF
  echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5903: 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 5908 "configure"
  #include "confdefs.h"
  #include <sys/types.h>

Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.173
retrieving revision 1.173.2.1
diff -C2 -r1.173 -r1.173.2.1
*** configure.in	2000/10/16 16:59:12	1.173
--- configure.in	2001/03/31 14:48:37	1.173.2.1
***************
*** 309,314 ****
  	yes)
  		case $ac_cv_prog_cc_g in
! 		yes)	OPT="-g -O2 -Wall -Wstrict-prototypes";;
! 		*)	OPT="-O2 -Wall -Wstrict-prototypes";;
  		esac
  		;;
--- 309,314 ----
  	yes)
  		case $ac_cv_prog_cc_g in
! 		yes)	OPT="-g -O2 -Wall -Wstrict-prototypes -fPIC";;
! 		*)	OPT="-O2 -Wall -Wstrict-prototypes -fPIC";;
  		esac
  		;;
***************
*** 565,569 ****
  	SunOS/5*) 
  		if test "$GCC" = "yes"
! 		then LDSHARED='$(CC) -G'
  		else LDSHARED="ld -G";
  		fi ;;
--- 565,569 ----
  	SunOS/5*) 
  		if test "$GCC" = "yes"
! 		then LDSHARED='$(CC) -shared'
  		else LDSHARED="ld -G";
  		fi ;;