[Python-checkins] CVS: python/dist/src configure.in,1.245,1.246 configure,1.236,1.237

Jack Jansen jackjansen@users.sourceforge.net
Wed, 15 Aug 2001 06:55:18 -0700


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

Modified Files:
	configure.in configure 
Log Message:
MacOSX: if we're building without --enable-toolbox-glue don't attempt to
include _PyMac_Error. Also don't try to include __dummy: it needs Foundation
and I think (not 100% sure) that this isn't part of naked Darwin.


Index: configure.in
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure.in,v
retrieving revision 1.245
retrieving revision 1.246
diff -C2 -d -r1.245 -r1.246
*** configure.in	2001/08/15 01:26:28	1.245
--- configure.in	2001/08/15 13:55:15	1.246
***************
*** 569,572 ****
--- 569,573 ----
  	extra_frameworks="-framework Carbon -framework Foundation"
  	extra_machdep_objs="Python/mactoolboxglue.o"
+ 	extra_undefs="-u __dummy -u _PyMac_Error"
  	AC_DEFINE(USE_TOOLBOX_OBJECT_GLUE)
  	;;
***************
*** 574,577 ****
--- 575,579 ----
  	extra_frameworks=""
  	extra_machdep_objs=""
+ 	extra_undefs=""
  	;;
  esac
***************
*** 752,756 ****
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		LINKFORSHARED="-u __dummy -u _PyMac_Error -framework System"
  		if test "$enable_framework"
  		then
--- 754,758 ----
  		# not used by the core itself but which needs to be in the core so
  		# that dynamically loaded extension modules have access to it.
! 		LINKFORSHARED="$extra_undefs -framework System"
  		if test "$enable_framework"
  		then

Index: configure
===================================================================
RCS file: /cvsroot/python/python/dist/src/configure,v
retrieving revision 1.236
retrieving revision 1.237
diff -C2 -d -r1.236 -r1.237
*** configure	2001/08/15 01:27:14	1.236
--- configure	2001/08/15 13:55:15	1.237
***************
*** 1,5 ****
  #! /bin/sh
  
! # From configure.in Revision: 1.244 
  
  # Guess values for system-dependent variables and create Makefiles.
--- 1,5 ----
  #! /bin/sh
  
! # From configure.in Revision: 1.245 
  
[...2951 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 7016 "configure"
  #include "confdefs.h"
  #include <sys/types.h>
***************
*** 7060,7064 ****
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7063: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then
--- 7062,7066 ----
  SRCDIRS="Parser Grammar Objects Python Modules"
  echo $ac_n "checking for build directories""... $ac_c" 1>&6
! echo "configure:7065: checking for build directories" >&5
  for dir in $SRCDIRS; do
      if test ! -d $dir; then