summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authormdejong <mdejong>2005-07-26 20:20:21 (GMT)
committermdejong <mdejong>2005-07-26 20:20:21 (GMT)
commit99a3268ecf555ad04f3ce935d0c29b2477762c74 (patch)
tree1f752ee2b031e6e9bf8d593b06e2a22cf1b99d86 /unix/configure
parent8b352c42ebe82894d4922719ca48dc45c6345844 (diff)
downloadtcl-99a3268ecf555ad04f3ce935d0c29b2477762c74.zip
tcl-99a3268ecf555ad04f3ce935d0c29b2477762c74.tar.gz
tcl-99a3268ecf555ad04f3ce935d0c29b2477762c74.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]
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure7
1 files changed, 7 insertions, 0 deletions
diff --git a/unix/configure b/unix/configure
index 7f9b3fc..e872f7d 100755
--- a/unix/configure
+++ b/unix/configure
@@ -13691,6 +13691,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.