[Python-checkins] python/dist/src configure.in,1.415,1.416 configure,1.404,1.405

loewis@users.sourceforge.net loewis@users.sourceforge.net
Sat, 14 Jun 2003 07:46:40 -0700


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

Modified Files:
	configure.in configure 
Log Message:
Give a warning if SO is set. Fixes #610332.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.415
retrieving revision 1.416
diff -C2 -d -r1.415 -r1.416
*** configure.in	14 Jun 2003 07:48:05 -0000	1.415
--- configure.in	14 Jun 2003 14:46:38 -0000	1.416
***************
*** 1141,1144 ****
--- 1141,1155 ----
  	*)	   SO=.so;;
  	esac
+ else
+ 	# this might also be a termcap variable, see #610332
+         echo
+         echo '====================================================================='
+         echo '+                                                                   +'
+ 	echo '+ WARNING: You have set SO in your environment.                     +'
+         echo '+ Do you really mean to change the extension for shared libraries?  +'
+         echo '+ Continuing in 10 seconds to let you to ponder.                    +'
+         echo '+                                                                   +'
+         echo '====================================================================='
+ 	sleep 10
  fi
  AC_MSG_RESULT($SO)

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.404
retrieving revision 1.405
diff -C2 -d -r1.404 -r1.405
*** configure	14 Jun 2003 07:48:07 -0000	1.404
--- configure	14 Jun 2003 14:46:38 -0000	1.405
***************
*** 1,4 ****
  #! /bin/sh
! # From configure.in Revision: 1.414 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
--- 1,4 ----
  #! /bin/sh
! # From configure.in Revision: 1.415 .
  # Guess values for system-dependent variables and create Makefiles.
  # Generated by GNU Autoconf 2.53 for python 2.3.
***************
*** 9479,9482 ****
--- 9479,9493 ----
  	*)	   SO=.so;;
  	esac
+ else
+ 	# this might also be a termcap variable, see #610332
+         echo
+         echo '====================================================================='
+         echo '+                                                                   +'
+ 	echo '+ WARNING: You have set SO in your environment.                     +'
+         echo '+ Do you really mean to change the extension for shared libraries?  +'
+         echo '+ Continuing in 10 seconds to let you to ponder.                    +'
+         echo '+                                                                   +'
+         echo '====================================================================='
+ 	sleep 10
  fi
  echo "$as_me:$LINENO: result: $SO" >&5