[Python-checkins] CVS: python/dist/src configure,1.106,1.107

Guido van Rossum guido@cnri.reston.va.us
Thu, 3 Feb 2000 08:50:27 -0500 (EST)


Update of /projects/cvsroot/python/dist/src
In directory eric:/projects/python/develop/guido/src

Modified Files:
	configure 
Log Message:
According to Harri Pasanen, the Solaris+gcc test for LINKFORSHARED
needed an adaptation for the latest gcc -- we need to grep stderr as
well as stdout for the magic string BFD.  (Does anybody know what BFD
means?)


Index: configure
===================================================================
RCS file: /projects/cvsroot/python/dist/src/configure,v
retrieving revision 1.106
retrieving revision 1.107
diff -C2 -r1.106 -r1.107
*** configure	1999/12/20 21:27:22	1.106
--- configure	2000/02/03 13:50:24	1.107
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.114 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.115 
  
  # Guess values for system-dependent variables and create Makefiles.
***************
*** 2356,2360 ****
  	SunOS/5*) case $CC in
  		  *gcc*)
! 		    if $CC -Xlinker -V 2>/dev/null | grep BFD >/dev/null
  		    then
  			LINKFORSHARED="-Xlinker --export-dynamic"
--- 2356,2360 ----
  	SunOS/5*) case $CC in
  		  *gcc*)
! 		    if $CC -Xlinker -V 2>&1 | grep BFD >/dev/null
  		    then
  			LINKFORSHARED="-Xlinker --export-dynamic"