summaryrefslogtreecommitdiffstats
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
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.
-rwxr-xr-xunix/configure4
-rw-r--r--unix/configure.in4
-rwxr-xr-xwin/configure4
-rw-r--r--win/configure.in4
4 files changed, 8 insertions, 8 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
#--------------------------------------------------------------------
diff --git a/win/configure b/win/configure
index 4979961..cc5a3fc 100755
--- a/win/configure
+++ b/win/configure
@@ -5123,9 +5123,9 @@ fi
#--------------------------------------------------------------------
if test "$prefix/lib" != "$libdir"; then
- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+ TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib}"
else
- TCL_PACKAGE_PATH="${prefix}/lib"
+ TCL_PACKAGE_PATH="{${prefix}/lib}"
fi
# The tclsh.exe.manifest requires these
diff --git a/win/configure.in b/win/configure.in
index cae6568..d1b2b20 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -359,9 +359,9 @@ fi
#--------------------------------------------------------------------
if test "$prefix/lib" != "$libdir"; then
- TCL_PACKAGE_PATH="${libdir} ${prefix}/lib"
+ TCL_PACKAGE_PATH="{${libdir}} {${prefix}/lib}"
else
- TCL_PACKAGE_PATH="${prefix}/lib"
+ TCL_PACKAGE_PATH="{${prefix}/lib}"
fi
# The tclsh.exe.manifest requires these