[Python-checkins] CVS: python/dist/src configure,1.149,1.150 configure.in,1.159,1.160 Makefile.in,1.102,1.103
Guido van Rossum
python-dev@python.org
Fri, 22 Sep 2000 08:38:24 -0700
Update of /cvsroot/python/python/dist/src
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31595
Modified Files:
configure configure.in Makefile.in
Log Message:
Address Bug #115057: add a --with-suffix option to set the EXE
variable in the Makefiles from the configure script. Usefil for
Cygwin and Mac OS X builds.
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.149
retrieving revision 1.150
diff -C2 -r1.149 -r1.150
*** configure 2000/09/19 00:46:45 1.149
--- configure 2000/09/22 15:38:15 1.150
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.159
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.160
[...4016 lines suppressed...]
#include <sys/types.h>
--- 5916,5925 ----
EOF
echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
! echo "configure:5919: 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 5924 "configure"
#include "confdefs.h"
#include <sys/types.h>
***************
*** 6077,6080 ****
--- 6094,6098 ----
s%@MAINOBJ@%$MAINOBJ%g
s%@CC@%$CC%g
+ s%@EXE@%$EXE%g
s%@MAKE_LDLIBRARY@%$MAKE_LDLIBRARY%g
s%@LDLIBRARY@%$LDLIBRARY%g
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.159
retrieving revision 1.160
diff -C2 -r1.159 -r1.160
*** configure.in 2000/09/19 00:46:45 1.159
--- configure.in 2000/09/22 15:38:18 1.160
***************
*** 194,197 ****
--- 194,206 ----
AC_PROG_CC
+ AC_SUBST(EXE)
+ AC_MSG_CHECKING(for --with-suffix)
+ AC_ARG_WITH(suffix, [ --with-suffix=.exe set executable suffix],[
+ case $withval in
+ no) EXE=;;
+ yes) EXE=.exe;;
+ *) EXE=$withval;;
+ esac])
+ AC_MSG_RESULT($EXE)
case $MACHDEP in
Index: Makefile.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/Makefile.in,v
retrieving revision 1.102
retrieving revision 1.103
diff -C2 -r1.102 -r1.103
*** Makefile.in 2000/09/05 04:46:32 1.102
--- Makefile.in 2000/09/22 15:38:20 1.103
***************
*** 90,95 ****
SHELL= /bin/sh
! # Use ``EXE=.exe'' for Unix emulations on DOS/Windows (e.g. GNUWIN32)
! EXE=
# Modes for directories, executables and data files created by the
--- 90,95 ----
SHELL= /bin/sh
! # Executable suffix (.exe on Windows and Mac OS X)
! EXE= @EXE@
# Modes for directories, executables and data files created by the