[Python-checkins] CVS: python/dist/src configure.in,1.197,1.198

Neil Schemenauer nascheme@users.sourceforge.net
Fri, 26 Jan 2001 22:54:44 -0800


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

Modified Files:
	configure.in 
Log Message:
Restore --with-suffix option.  AC_EXEEXT doesn't aways do what the user wants
and an option is more friendly then manually setting a variable.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.197
retrieving revision 1.198
diff -C2 -r1.197 -r1.198
*** configure.in	2001/01/26 22:55:24	1.197
--- configure.in	2001/01/27 06:54:42	1.198
***************
*** 172,175 ****
--- 172,183 ----
  AC_PROG_CC
  AC_EXEEXT
+ AC_MSG_CHECKING(for --with-suffix)
+ AC_ARG_WITH(suffix, [  --with-suffix=.exe              set executable suffix],[
+ 	case $withval in
+ 	no)	EXEEXT=;;
+ 	yes)	EXEEXT=.exe;;
+ 	*)	EXEEXT=$withval;;
+ 	esac])
+ AC_MSG_RESULT($EXEEXT)
  
  case $MACHDEP in