summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-09 12:52:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2021-06-09 12:52:56 (GMT)
commitc9a116f556b63116fa73fcd83039b9046656ba23 (patch)
treea109f68b90b3cc9a91b1be8c9319e4b02699f8df
parent49810d382042bd32c8edfd020d5ebf1b3258946d (diff)
downloadtk-c9a116f556b63116fa73fcd83039b9046656ba23.zip
tk-c9a116f556b63116fa73fcd83039b9046656ba23.tar.gz
tk-c9a116f556b63116fa73fcd83039b9046656ba23.tar.bz2
Fix determination of BUILD_TCLSH. Problem reported by René Zaumseil.
-rwxr-xr-xwin/configure2
-rw-r--r--win/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/win/configure b/win/configure
index fbc5b45..52c0a7d 100755
--- a/win/configure
+++ b/win/configure
@@ -5237,7 +5237,7 @@ echo "${ECHO_T}$result" >&6
echo "$as_me:$LINENO: checking for tclsh in Tcl build directory" >&5
echo $ECHO_N "checking for tclsh in Tcl build directory... $ECHO_C" >&6
- BUILD_TCLSH=${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${TCL_DBGX}${EXEEXT}
+ BUILD_TCLSH=${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}\${EXESUFFIX}
echo "$as_me:$LINENO: result: $BUILD_TCLSH" >&5
echo "${ECHO_T}$BUILD_TCLSH" >&6
diff --git a/win/tcl.m4 b/win/tcl.m4
index 40ce538..79cb87b 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -1204,7 +1204,7 @@ AC_DEFUN([SC_PROG_TCLSH], [
AC_DEFUN([SC_BUILD_TCLSH], [
AC_MSG_CHECKING([for tclsh in Tcl build directory])
- BUILD_TCLSH=${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}${TCL_DBGX}${EXEEXT}
+ BUILD_TCLSH=${TCL_BIN_DIR}/tclsh${TCL_MAJOR_VERSION}${TCL_MINOR_VERSION}\${EXESUFFIX}
AC_MSG_RESULT($BUILD_TCLSH)
AC_SUBST(BUILD_TCLSH)
])