diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-10 14:43:32 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-04-10 14:43:32 (GMT) |
commit | 648205fd028550fa54dbb2108638e23ea88f2191 (patch) | |
tree | 7cca3e3e4223221b3c97942e890b6c57ec8f50a5 | |
parent | 8bd56ed25bd108e615fe3d30e0fca97c5ff34165 (diff) | |
download | tcl-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.
-rwxr-xr-x | unix/configure | 4 | ||||
-rw-r--r-- | unix/configure.in | 4 | ||||
-rwxr-xr-x | win/configure | 4 | ||||
-rw-r--r-- | win/configure.in | 4 |
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 |