aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2021-04-09 08:08:02 +1000
committerSteve Bennett <steveb@workware.net.au>2021-04-09 08:29:24 +1000
commitbcd4434161897da5203cdfaef8b2227e15d82c45 (patch)
treefdadc54b907c5ca5e71aa2168fb0d0894824a114 /auto.def
parent4a5392ef726b2ab4f750df5cae471699bc809b05 (diff)
downloadjimtcl-bcd4434161897da5203cdfaef8b2227e15d82c45.zip
jimtcl-bcd4434161897da5203cdfaef8b2227e15d82c45.tar.gz
jimtcl-bcd4434161897da5203cdfaef8b2227e15d82c45.tar.bz2
build: Allow some paths to contain spaces
Quote the build dir or and the path to jimsh/tclsh in the Makefile in case they contain spaces. Also fix a few problems in tests/ that arise when the build and/or source dir contain spaces. Fixes #199 Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def2
1 files changed, 1 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 3f2f5a0..347951f 100644
--- a/auto.def
+++ b/auto.def
@@ -296,7 +296,7 @@ switch -glob -- $host_os {
# Find some tools
cc-check-tools ar ranlib strip
-define tclsh [info nameofexecutable]
+define tclsh [quote-if-needed [info nameofexecutable]]
# We only support silent-rules for GNU Make
define NO_SILENT_RULES