From b7a3951c0046491a62399fc51fe809e24e5eb8b7 Mon Sep 17 00:00:00 2001 From: Steve Bennett Date: Wed, 3 Nov 2010 20:52:27 +1000 Subject: Don't hardcode /lib/jim Instead, set TCL_LIBRARY based on where jim is installed. This defaults to /usr/local (thus /usr/local/lib/jim), or can be modified with either configure or make. e.g. ./configure --prefix=/usr or make prefix=/usr install Now auto_path is initialised only to TCL_LIBRARY, and doesn't include "." which could be undesirable. At the same time, simplify jimsh initialisation using a script instead of C code. Add the path to the executable to auto_path. Also, no longer use JIM_TCL_COMPAT. Always use the tcl-compatible names, $auto_path and $tcl_interactive. Signed-off-by: Steve Bennett --- README.extensions | 3 +++ 1 file changed, 3 insertions(+) (limited to 'README.extensions') diff --git a/README.extensions b/README.extensions index cf3dd37..0eaca1c 100644 --- a/README.extensions +++ b/README.extensions @@ -10,3 +10,6 @@ abc can be loaded with: package require abc First abc.so will be tried, and then abc.tcl + +Note that this directory may be something like /lib/jim, /usr/lib/jim or +/usr/local/lib/jim, depending upon where jim was installed. -- cgit v1.1