From: Tony L. <to...@lo...> - 2002-07-05 16:47:05
|
Hi Jim, Tcl.pbproj in current CVS builds a Tcl.framework that can't find it's library; this doesn't affect the Wish Shell but it does affect external programs using the framework (e.g. Python+Tkinter). The problem is that HAVE_CFBUNDLE isn't defined so TclpSetVariables doesn't turn @TCL_IN_FRAMEWORK@ to a path in the bundle. Here is a patch to configure.in that solves the issue. Wish Shell isn't affected because its Tcl_AppInit has the same code as TclpSetVariables. Do you want the patch below posted to SF? Do you want me to remove the duplicate code in Tcl_AppInit as well? Thanks, -Tony Index: unix/configure.in =================================================================== RCS file: /cvsroot/tcl/tcl/unix/configure.in,v retrieving revision 1.72.8.5 diff -u -r1.72.8.5 configure.in --- unix/configure.in 10 Jun 2002 05:33:18 -0000 1.72.8.5 +++ unix/configure.in 5 Jul 2002 15:35:28 -0000 @@ -441,6 +441,7 @@ TCL_BUILD_LIB_SPEC="-F`pwd` -framework Tcl" TCL_LIB_SPEC="-framework Tcl" TCL_LIB_FILE="Tcl" + AC_DEFINE(HAVE_CFBUNDLE) elif test "$SHARED_BUILD" = "0" -o $TCL_NEEDS_EXP_FILE = 0; then if test "${TCL_LIB_VERSIONS_OK}" = "ok"; then TCL_LIB_FLAG="-ltcl${TCL_VERSION}\${TCL_DBGX}" |