diff options
author | das <das> | 2002-10-22 16:41:26 (GMT) |
---|---|---|
committer | das <das> | 2002-10-22 16:41:26 (GMT) |
commit | cd83bd4f9b2b62007d4f9eed42dffba1e49e70f0 (patch) | |
tree | cbfa88b9d4e734767f869e6cc17264ca9d64cd7e /library/auto.tcl | |
parent | 5356bb251e4978b7dc52fb21ee811b516ef2329f (diff) | |
download | tcl-cd83bd4f9b2b62007d4f9eed42dffba1e49e70f0.zip tcl-cd83bd4f9b2b62007d4f9eed42dffba1e49e70f0.tar.gz tcl-cd83bd4f9b2b62007d4f9eed42dffba1e49e70f0.tar.bz2 |
* library/auto.tcl (tcl_findLibrary):
* library/package.tcl (tclPkgUnknown): on macosx, search inside the
Resources/Scripts subdirectory of any potential package directory
* macosx/Tcl.pbproj/project.pbxproj: add standard Frameworks dirs
to TCL_PACKAGE_PATH make argument.
* unix/tclUnixInit.c (TclpSetVariables): on macosx, add embedded
framework dirs to tcl_pkgPath: @executable_path/../Frameworks and
@executable_path/../PrivateFrameworks (if they exist), as well as
the dirs in DYLD_FRAMEWORK_PATH (if set). [Patch #624509]
use standard MAXPATHLEN instead of literal 1024
Diffstat (limited to 'library/auto.tcl')
-rw-r--r-- | library/auto.tcl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/auto.tcl b/library/auto.tcl index b023f59..dcea2b5 100644 --- a/library/auto.tcl +++ b/library/auto.tcl @@ -3,7 +3,7 @@ # utility procs formerly in init.tcl dealing with auto execution # of commands and can be auto loaded themselves. # -# RCS: @(#) $Id: auto.tcl,v 1.10 2002/08/31 06:09:45 das Exp $ +# RCS: @(#) $Id: auto.tcl,v 1.11 2002/10/22 16:41:27 das Exp $ # # Copyright (c) 1991-1993 The Regents of the University of California. # Copyright (c) 1994-1998 Sun Microsystems, Inc. @@ -103,6 +103,7 @@ proc tcl_findLibrary {basename version patch initScript enVarName varName} { [string equal $::tcl_platform(os) "Darwin"]} { foreach d $::tcl_pkgPath { lappend dirs [file join $d $basename$version] + lappend dirs [file join $d $basename$version Resources Scripts] } } } |