[Python-checkins] CVS: python/dist/src configure.in,1.236,1.237 configure,1.228,1.229
Jack Jansen
jackjansen@users.sourceforge.net
Fri, 03 Aug 2001 08:32:26 -0700
Update of /cvsroot/python/python/dist/src
In directory usw-pr-cvs1:/tmp/cvs-serv14103
Modified Files:
configure.in configure
Log Message:
- On OSX add -no-cpp-precomp to OPT. The user still has to manually specify
the --with-suffix=.exe, but it seems that that is also true for cygwin
(or not? should I automatically set it?)
- Got --with-next-framework to build on OSX. This is only the build bit,
the install still has to be done manually. Moreover, the Python build order
isn't really suited to frameworks (where you want to do 'build lib',
'install lib and framework', 'link executable against installed framework'
in that order).
Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.236
retrieving revision 1.237
diff -C2 -d -r1.236 -r1.237
*** configure.in 2001/07/26 13:41:05 1.236
--- configure.in 2001/08/03 15:32:23 1.237
***************
*** 249,252 ****
--- 249,253 ----
then
LDLIBRARY='libpython$(VERSION).dylib'
+ DLLLIBRARY=$LDLIBRARY
fi
***************
*** 328,331 ****
--- 329,336 ----
esac
esac
+ case $ac_sys_system in
+ Darwin*)
+ OPT="$OPT -no-cpp-precomp";;
+ esac
fi
***************
*** 676,680 ****
Darwin/*)
ns_undef_sym='_environ'
! LIBTOOL_CRUFT="-lcc_dynamic -arch_only ppc -U $ns_undef_sym" ;;
next/4*)
ns_undef_sym='__environ'
--- 681,685 ----
Darwin/*)
ns_undef_sym='_environ'
! LIBTOOL_CRUFT="-framework Foundation -framework Carbon -lcc_dynamic -arch_only ppc -U $ns_undef_sym" ;;
next/4*)
ns_undef_sym='__environ'
***************
*** 688,692 ****
if test "$with_next_framework"
then
! OPT="$OPT -fno-common"
# -U __environ is needed since bundles don't have access
# to crt0 when built but will always be linked against it
--- 693,697 ----
if test "$with_next_framework"
then
! OPT="$OPT -fno-common -dynamic"
# -U __environ is needed since bundles don't have access
# to crt0 when built but will always be linked against it
Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.228
retrieving revision 1.229
diff -C2 -d -r1.228 -r1.229
*** configure 2001/07/26 13:41:04 1.228
--- configure 2001/08/03 15:32:23 1.229
***************
*** 1,5 ****
#! /bin/sh
! # From configure.in Revision: 1.235
# Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
#! /bin/sh
! # From configure.in Revision: 1.236
[...4276 lines suppressed...]
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 6957 "configure"
#include "confdefs.h"
#include <sys/types.h>
***************
*** 6998,7002 ****
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7001: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then
--- 7003,7007 ----
SRCDIRS="Parser Grammar Objects Python Modules"
echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7006: checking for build directories" >&5
for dir in $SRCDIRS; do
if test ! -d $dir; then