diff options
author | das <das> | 2004-11-19 06:29:23 (GMT) |
---|---|---|
committer | das <das> | 2004-11-19 06:29:23 (GMT) |
commit | e0a31c1844fdf63b80fd84668a1db20bae0d3119 (patch) | |
tree | a308ab4415be70ba2d96ac4b00d0aef89dbd9fdb /unix/tclUnixInit.c | |
parent | 0de45745cf4d2cbe063db64f58a81bcebc37fd5a (diff) | |
download | tcl-e0a31c1844fdf63b80fd84668a1db20bae0d3119.zip tcl-e0a31c1844fdf63b80fd84668a1db20bae0d3119.tar.gz tcl-e0a31c1844fdf63b80fd84668a1db20bae0d3119.tar.bz2 |
* macosx/Makefile:
* unix/configure.in:
* unix/tclUnixInit.c (MacOSXGetLibraryPath): changed detection
of tcl framework build when determining tclLibPath from overloaded
TCL_LIBRARY to configuration define TCL_FRAMEWORK. [Bug 1068088]
* unix/configure: autoconf-2.13
* tests/unixInit.test (7.1): fixed failure when running tests
with -tmpdir arg not set to working dir.
Diffstat (limited to 'unix/tclUnixInit.c')
-rw-r--r-- | unix/tclUnixInit.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/unix/tclUnixInit.c b/unix/tclUnixInit.c index a51124e..a3add18 100644 --- a/unix/tclUnixInit.c +++ b/unix/tclUnixInit.c @@ -7,7 +7,7 @@ * Copyright (c) 1999 by Scriptics Corporation. * All rights reserved. * - * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.4 2004/03/29 18:49:36 hobbs Exp $ + * RCS: @(#) $Id: tclUnixInit.c,v 1.34.2.5 2004/11/19 06:29:25 das Exp $ */ #if defined(HAVE_CFBUNDLE) @@ -1069,10 +1069,10 @@ TclpCheckStackSpace() static int Tcl_MacOSXGetLibraryPath(Tcl_Interp *interp, int maxPathLen, char *tclLibPath) { int foundInFramework = TCL_ERROR; - if (strcmp(defaultLibraryDir, "@TCL_IN_FRAMEWORK@") == 0) { - foundInFramework = Tcl_MacOSXOpenVersionedBundleResources(interp, - "com.tcltk.tcllibrary", TCL_VERSION, 0, maxPathLen, tclLibPath); - } +#ifdef TCL_FRAMEWORK + foundInFramework = Tcl_MacOSXOpenVersionedBundleResources(interp, + "com.tcltk.tcllibrary", TCL_VERSION, 0, maxPathLen, tclLibPath); +#endif return foundInFramework; } #endif /* HAVE_CFBUNDLE */ |