From ed95065bfb2e9a9b3eb5c46b0c6b9a92d54dfaef Mon Sep 17 00:00:00 2001 From: andreas_kupries Date: Thu, 26 Jun 2008 22:10:21 +0000 Subject: * unix/Makefile.in: Followup to my change of 2008-06-25, make code generated by the Makefile and put into the installd tm.tcl conditional on interpreter safeness as well. Thanks to Daniel Steffen for reminding me of that code. --- ChangeLog | 7 +++++++ unix/Makefile.in | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9efe283..f568e83 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-06-26 Andreas Kupries + + * unix/Makefile.in: Followup to my change of 2008-06-25, make code + generated by the Makefile and put into the installd tm.tcl + conditional on interpreter safeness as well. Thanks to Daniel + Steffen for reminding me of that code. + 2008-06-25 Don Porter * changes: Update for 8.5.3 release. diff --git a/unix/Makefile.in b/unix/Makefile.in index f950046..7ce7fdf 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -4,7 +4,7 @@ # "./configure", which is a configuration script generated by the "autoconf" # program (constructs like "@foo@" will get replaced in the actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.229.2.2 2008/06/12 20:09:11 das Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.229.2.3 2008/06/26 22:10:24 andreas_kupries Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -805,7 +805,7 @@ install-libraries: libraries $(INSTALL_TZDATA) install-msgs done; @if [ -n "$(TCL_MODULE_PATH)" -a -f $(TOP_DIR)/library/tm.tcl ]; then \ echo "Customizing tcl module path"; \ - echo "::tcl::tm::roots {$(TCL_MODULE_PATH)}" >> \ + echo "if {![interp issafe]} { ::tcl::tm::roots {$(TCL_MODULE_PATH)} }" >> \ "$(SCRIPT_INSTALL_DIR)"/tm.tcl; \ fi -- cgit v0.12