summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2008-06-26 22:12:50 (GMT)
committerandreas_kupries <akupries@shaw.ca>2008-06-26 22:12:50 (GMT)
commitbb0486b2b82906125cbe7ef326bb4a2766beb96e (patch)
tree8b570d5eb0894b6c1e2f137384fb42bf089dd0c7 /unix
parent11160f8a61ece89e66145b22896f7914b0c6fb75 (diff)
downloadtcl-bb0486b2b82906125cbe7ef326bb4a2766beb96e.zip
tcl-bb0486b2b82906125cbe7ef326bb4a2766beb96e.tar.gz
tcl-bb0486b2b82906125cbe7ef326bb4a2766beb96e.tar.bz2
* unix/Makefile.in: Followup to my change of 2008-06-25, make code
generated by the Makefile and put into the installed tm.tcl conditional on interpreter safeness as well. Thanks to Daniel Steffen for reminding me of that code.
Diffstat (limited to 'unix')
-rw-r--r--unix/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index 7657c1b..b351ebe 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.239 2008/06/12 20:08:58 das Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.240 2008/06/26 22:12:51 andreas_kupries Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -822,7 +822,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