summaryrefslogtreecommitdiffstats
path: root/unix/Makefile.in
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2010-07-11 16:12:43 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2010-07-11 16:12:43 (GMT)
commit7abfdd1acbbaf999810374d70a5b9423b898fb00 (patch)
treea26370ed1172ebe8e54b43453b6f446a4fe6d0d5 /unix/Makefile.in
parent1d8a79987fd062bf83f82fb9bc229e7b0e410606 (diff)
downloadtcl-7abfdd1acbbaf999810374d70a5b9423b898fb00.zip
tcl-7abfdd1acbbaf999810374d70a5b9423b898fb00.tar.gz
tcl-7abfdd1acbbaf999810374d70a5b9423b898fb00.tar.bz2
Use SC_PROG_TCLSH to set a native tclsh in the Makefile.
When installing the libraries a native tcl interpreter is used to process some files. The makefile uses NATIVE_TCLSH for this. This patch causes us to prefer an installed tclsh over the build product which solves build issues when cross-compiling (provided a native tcl is installed). If there is no native version, just try using the build product.
Diffstat (limited to 'unix/Makefile.in')
-rw-r--r--unix/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/Makefile.in b/unix/Makefile.in
index a3d8f95..8bc4291 100644
--- a/unix/Makefile.in
+++ b/unix/Makefile.in
@@ -4,7 +4,7 @@
# "./configure", which is a configuration script generated by the "autoconf"
# program (constructs like "@foo@" will get replaced in the actual Makefile.
#
-# RCS: @(#) $Id: Makefile.in,v 1.302 2010/06/14 13:40:42 nijtmans Exp $
+# RCS: @(#) $Id: Makefile.in,v 1.303 2010/07/11 16:12:45 patthoyts Exp $
VERSION = @TCL_VERSION@
MAJOR_VERSION = @TCL_MAJOR_VERSION@
@@ -167,7 +167,7 @@ INSTALL_DATA = ${INSTALL} -m 644
EXE_SUFFIX = @EXEEXT@
TCL_EXE = tclsh${EXE_SUFFIX}
TCLTEST_EXE = tcltest${EXE_SUFFIX}
-NATIVE_TCLSH = ./${TCL_EXE}
+NATIVE_TCLSH = @TCLSH_PROG@
# The symbols below provide support for dynamic loading and shared libraries.
# See configure.in for a description of what the symbols mean. The values of