diff options
author | das <das> | 2004-08-26 16:01:17 (GMT) |
---|---|---|
committer | das <das> | 2004-08-26 16:01:17 (GMT) |
commit | 1d21fcfd2d8f150847d7d1636ce03746adff3955 (patch) | |
tree | 21027e38d6dcd722efa194b6054bb9a63532834a /unix | |
parent | 3060491426e52099c85b053985225c8518fa0d4e (diff) | |
download | tcl-1d21fcfd2d8f150847d7d1636ce03746adff3955.zip tcl-1d21fcfd2d8f150847d7d1636ce03746adff3955.tar.gz tcl-1d21fcfd2d8f150847d7d1636ce03746adff3955.tar.bz2 |
* unix/Makefile.in: added customization of default module path roots
via TCL_MODULE_PATH makefile variable.
* macosx/Makefile: add platform standard locations to default
module path roots. [Patch 94288]
Diffstat (limited to 'unix')
-rw-r--r-- | unix/Makefile.in | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in index 6273cf7..99e58e7 100644 --- a/unix/Makefile.in +++ b/unix/Makefile.in @@ -5,7 +5,7 @@ # "autoconf" program (constructs like "@foo@" will get replaced in the # actual Makefile. # -# RCS: @(#) $Id: Makefile.in,v 1.143 2004/08/18 19:59:09 kennykb Exp $ +# RCS: @(#) $Id: Makefile.in,v 1.144 2004/08/26 16:01:29 das Exp $ VERSION = @TCL_VERSION@ MAJOR_VERSION = @TCL_MAJOR_VERSION@ @@ -78,6 +78,9 @@ MANN_INSTALL_DIR = $(MAN_INSTALL_DIR)/mann # Package search path. TCL_PACKAGE_PATH = @TCL_PACKAGE_PATH@ +# Tcl Module default path roots (TIP189). +TCL_MODULE_PATH = + # Libraries built with optimization switches have this additional extension TCL_DBGX = @TCL_DBGX@ @@ -691,6 +694,11 @@ install-libraries: libraries install-tzdata install-msgs @for i in $(TOP_DIR)/library/encoding/*.enc ; do \ $(INSTALL_DATA) $$i $(SCRIPT_INSTALL_DIR)/encoding; \ done; + @if [ -n "$(TCL_MODULE_PATH)" -a -e $(TOP_DIR)/library/tm.tcl ]; then \ + echo "Customizing tcl module path"; \ + echo "::tcl::tm::roots {$(TCL_MODULE_PATH)}" >> \ + $(SCRIPT_INSTALL_DIR)/tm.tcl; \ + fi install-tzdata: @echo "Installing time zone data" |