diff options
author | mdejong <mdejong@noemail.net> | 2005-07-26 20:26:27 (GMT) |
---|---|---|
committer | mdejong <mdejong@noemail.net> | 2005-07-26 20:26:27 (GMT) |
commit | 4b9910123cead6bcea6ec9d83227b99998c186e4 (patch) | |
tree | 09f35638fe1ff6e7be0b31b835662e821792cfb0 /unix/configure | |
parent | 1b6481e2612775d3d8fda46fe953264533407a3c (diff) | |
download | tcl-4b9910123cead6bcea6ec9d83227b99998c186e4.zip tcl-4b9910123cead6bcea6ec9d83227b99998c186e4.tar.gz tcl-4b9910123cead6bcea6ec9d83227b99998c186e4.tar.bz2 |
* unix/configure: Regen.
* unix/configure.in: Check for a $prefix/share
directory and add it the the package if found.
This will check for Tcl packages in /usr/local/share
when Tcl is configured with the default dist install.
[patch 1231015]
FossilOrigin-Name: 4a097ea0476927746fb1da3452dd8fa3d6a70b4c
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure index a59ced9..6da3455 100755 --- a/unix/configure +++ b/unix/configure @@ -7661,6 +7661,13 @@ else TCL_PACKAGE_PATH="${prefix}/lib" fi +# If a system share directory like /usr/local/share already exists, then add +# it to the package search path. + +if test -d "${prefix}/share" ; then + TCL_PACKAGE_PATH="${TCL_PACKAGE_PATH} ${prefix}/share" +fi + #-------------------------------------------------------------------- # The statements below define various symbols relating to Tcl # stub support. |