summaryrefslogtreecommitdiffstats
path: root/win
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)
commit648205fd028550fa54dbb2108638e23ea88f2191 (patch)
tree7cca3e3e4223221b3c97942e890b6c57ec8f50a5 /win
parent8bd56ed25bd108e615fe3d30e0fca97c5ff34165 (diff)
downloadtcl-648205fd028550fa54dbb2108638e23ea88f2191.zip
tcl-648205fd028550fa54dbb2108638e23ea88f2191.tar.gz
tcl-648205fd028550fa54dbb2108638e23ea88f2191.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 'win')
-rwxr-xr-xwin/configure4
-rw-r--r--win/configure.in4
2 files changed, 4 insertions, 4 deletions
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