summaryrefslogtreecommitdiffstats
path: root/win/Makefile.in
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 /win/Makefile.in
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 'win/Makefile.in')
-rw-r--r--win/Makefile.in10
1 files changed, 5 insertions, 5 deletions
diff --git a/win/Makefile.in b/win/Makefile.in
index 9acbbba..29c6d66 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -4,11 +4,12 @@
# "autoconf" program (constructs like "@foo@" will get replaced in the
# actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.73 2007/05/14 20:58:28 dgp Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.74 2007/09/11 17:46:42 dgp Exp $
TCLVERSION = @TCL_VERSION@
TCLPATCHL = @TCL_PATCH_LEVEL@
VERSION = @TK_VERSION@
+PATCH_LEVEL = @TK_PATCH_LEVEL@
#----------------------------------------------------------------
# Things you can change to personalize the Makefile for your own
@@ -479,10 +480,9 @@ install-binaries: binaries
@echo "Creating package index $(PKG_INDEX)";
@$(RM) $(PKG_INDEX);
@(\
- echo "if {![package vsatisfies [package provide Tcl] $(TCLVERSION)]} { return }";\
- echo "if {[package vcompare [package provide Tcl]\
- $(TCLVERSION)$(TCLPATCHL)] != 0} { return }";\
- echo "package ifneeded Tk $(VERSION)$(TCLPATCHL)\
+ echo "if {[catch {package present Tcl\
+ $(TCLVERSION)$(TCLPATCHL)]} { return }";\
+ echo "package ifneeded Tk $(VERSION)$(PATCH_LEVEL)\
[list load [file join \$$dir .. .. bin $(TK_DLL_FILE)] Tk]";\
) > $(PKG_INDEX);
@for i in tkConfig.sh $(TK_LIB_FILE) $(TK_STUB_LIB_FILE); \