Artifact
3fef5c10a5bced0aad869b5d5c551bae2936d0fc:
Attachment "distpkg.patch" to
ticket [1231015fff]
added by
mdejong
2005-07-27 03:25:22.
Index: unix/configure.in
===================================================================
RCS file: /cvsroot/tcl/tcl/unix/configure.in,v
retrieving revision 1.135
diff -u -r1.135 configure.in
--- unix/configure.in 21 Jun 2005 08:51:23 -0000 1.135
+++ unix/configure.in 26 Jul 2005 20:20:05 -0000
@@ -551,6 +551,13 @@
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.