summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-10 14:43:32 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-04-10 14:43:32 (GMT)
commit9e182b4c49269c583fb7b2a5cbaf757e7633062b (patch)
tree7cca3e3e4223221b3c97942e890b6c57ec8f50a5 /unix
parent61e8620f8627bfd26b93e6e7695aba9a1efd7ee0 (diff)
downloadtcl-9e182b4c49269c583fb7b2a5cbaf757e7633062b.zip
tcl-9e182b4c49269c583fb7b2a5cbaf757e7633062b.tar.gz
tcl-9e182b4c49269c583fb7b2a5cbaf757e7633062b.tar.bz2
Fix determination of TCL_PACKAGE_PATH if it contains multiple directories, and at least one of them contains a space.
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure4
-rw-r--r--unix/configure.in4
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure
index e896fea..f28cc8c 100755
--- a/unix/configure
+++ b/unix/configure
@@ -18840,9 +18840,9 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib} ${TCL_PACKAGE_PATH}"
else
- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${prefix}/lib} ${TCL_PACKAGE_PATH}"
fi
#--------------------------------------------------------------------
diff --git a/unix/configure.in b/unix/configure.in
index 8ab9672..0c66258 100644
--- a/unix/configure.in
+++ b/unix/configure.in
@@ -866,9 +866,9 @@ if test "$FRAMEWORK_BUILD" = "1" ; then
test -z "$TCL_MODULE_PATH" && \
TCL_MODULE_PATH="~/Library/Tcl /Library/Tcl"
elif test "$prefix/lib" != "$libdir"; then
- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${libdir} ${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib} ${TCL_PACKAGE_PATH}"
else
- test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="${prefix}/lib ${TCL_PACKAGE_PATH}"
+ test -z "$TCL_PACKAGE_PATH" && TCL_PACKAGE_PATH="{${prefix}/lib} ${TCL_PACKAGE_PATH}"
fi
#--------------------------------------------------------------------