summaryrefslogtreecommitdiffstats
path: root/library/tk.tcl
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2007-09-11 17:46:39 (GMT)
committerdgp <dgp@users.sourceforge.net>2007-09-11 17:46:39 (GMT)
commite125b9425935c29a2a759b69e4146adbc012a183 (patch)
tree75d59a4d6a8149488a33a415ec1c3b00bd2fe795 /library/tk.tcl
parent9cf320faf7fab53a527586ae783d3239e11a2599 (diff)
downloadtk-e125b9425935c29a2a759b69e4146adbc012a183.zip
tk-e125b9425935c29a2a759b69e4146adbc012a183.tar.gz
tk-e125b9425935c29a2a759b69e4146adbc012a183.tar.bz2
* generic/tkConsole.c: Revised calls to Tcl_InitStubs() and
* generic/tkMain.c: [package require Tcl] so that Tk Says What * generic/tkWindow.c: It Means using the new facilties of [package] * library/tk.tcl: in Tcl 8.5 about what version(s) of Tcl it * unix/Makefile.in: is willing to work with. [Bug 1578344]. * win/Makefile.in: * win/makefile.vc:
Diffstat (limited to 'library/tk.tcl')
-rw-r--r--library/tk.tcl9
1 files changed, 6 insertions, 3 deletions
diff --git a/library/tk.tcl b/library/tk.tcl
index 8ac9efa..c8d8587 100644
--- a/library/tk.tcl
+++ b/library/tk.tcl
@@ -3,7 +3,7 @@
# Initialization script normally executed in the interpreter for each
# Tk-based application. Arranges class bindings for widgets.
#
-# RCS: @(#) $Id: tk.tcl,v 1.63 2007/05/18 19:21:59 dgp Exp $
+# RCS: @(#) $Id: tk.tcl,v 1.64 2007/09/11 17:46:41 dgp Exp $
#
# Copyright (c) 1992-1994 The Regents of the University of California.
# Copyright (c) 1994-1996 Sun Microsystems, Inc.
@@ -12,8 +12,11 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
-# Insist on running with compatible versions of Tcl and Tk.
-package require -exact Tcl 8.5a7
+package require Tcl 8.5 ;# Guard against [source] in an 8.4- interp
+ ;# before using 8.5 [package] features.
+# Insist on running with compatible version of Tcl
+package require Tcl 8.5a7-8.6
+# Verify that we have Tk binary and script components from the same release
package require -exact Tk 8.5a7
# Create a ::tk namespace