From 13d3d8619de3fd760447e51e420766fb5d52f5f0 Mon Sep 17 00:00:00 2001 From: suresh Date: Tue, 23 Jun 1998 16:52:44 +0000 Subject: Added an additional env. var. ("tk_pkgLibrary") that is searched prior to all other locations for the "tk.tcl" file. This facilitates application packaging. --- generic/tkInitScript.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/generic/tkInitScript.h b/generic/tkInitScript.h index e86d16e..f46503a 100644 --- a/generic/tkInitScript.h +++ b/generic/tkInitScript.h @@ -33,6 +33,9 @@ static char initScript[] = set tk_library .\n\ }\n\ set dirs {}\n\ + if {[info exists env(tk_pkgLibrary)]} {\n\ + lappend dirs $env(tk_pkgLibrary)\n\ + }\n\ if {[info exists env(TK_LIBRARY)]} {\n\ lappend dirs $env(TK_LIBRARY)\n\ }\n\ -- cgit v0.12