From 44b7fd8e3208bcb711ecddd19594f91d320a0e19 Mon Sep 17 00:00:00 2001 From: davygrvy Date: Sun, 16 Nov 2003 06:02:13 +0000 Subject: Fixes pkgIndex.tcl generation so a symbols build is loaded when Tcl is symbols --- ChangeLog | 5 +++++ win/makefile.vc | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 3b20f2c..b1a111a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-11-15 David Gravereaux + + * win/makefile.vc: Fixes pkgIndex.tcl generation so a symbols build + is loaded when Tcl is symbols. + 2003-11-11 Jeff Hobbs * unix/configure: diff --git a/win/makefile.vc b/win/makefile.vc index 2762c4d..940ad76 100644 --- a/win/makefile.vc +++ b/win/makefile.vc @@ -12,7 +12,7 @@ # Copyright (c) 2001-2002 David Gravereaux. # #------------------------------------------------------------------------------ -# RCS: @(#) $Id: makefile.vc,v 1.67.2.3 2003/03/23 02:25:21 kennykb Exp $ +# RCS: @(#) $Id: makefile.vc,v 1.67.2.4 2003/11/16 06:02:13 davygrvy Exp $ #------------------------------------------------------------------------------ !if "$(MSVCDIR)" == "" @@ -531,8 +531,12 @@ install-binaries: !if !$(STATIC_BUILD) @echo Creating package index "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl" -del "$(SCRIPT_INSTALL_DIR)\pkgIndex.tcl" - echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return } > "$(OUT_DIR)\pkgIndex.tcl" - echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin $(TKLIBNAME)] Tk] >>"$(OUT_DIR)\pkgIndex.tcl" + echo if {[package vcompare [package provide Tcl] $(TCL_DOTVERSION)] != 0} { return }> "$(OUT_DIR)\pkgIndex.tcl" + echo if {[info exists ::tcl_platform(debug)]} {>> "$(OUT_DIR)\pkgIndex.tcl" + echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk84g.dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl" + echo } else {>> "$(OUT_DIR)\pkgIndex.tcl" + echo package ifneeded Tk $(DOTVERSION) [list load [file join $$dir .. .. bin tk84.dll] Tk]>> "$(OUT_DIR)\pkgIndex.tcl" + echo }>> "$(OUT_DIR)\pkgIndex.tcl" $(CPY) "$(OUT_DIR)\pkgIndex.tcl" "$(SCRIPT_INSTALL_DIR)\" !endif -- cgit v0.12