summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-09 10:08:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-09 10:08:56 (GMT)
commit61c463f55f3324d94a9142319ccb1bfe535f196c (patch)
treec2b9e021f45991a892e34378e871dcca9b40750c /unix/tcl.m4
parent7d850a310dc724c3c077cc0c31cc4ff5167406eb (diff)
downloadtcl-61c463f55f3324d94a9142319ccb1bfe535f196c.zip
tcl-61c463f55f3324d94a9142319ccb1bfe535f196c.tar.gz
tcl-61c463f55f3324d94a9142319ccb1bfe535f196c.tar.bz2
Make Cygwin's "configure" work from another directory than /unix. (Not everything works this way!)
Diffstat (limited to 'unix/tcl.m4')
-rw-r--r--unix/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 10408a8..b6c86b6 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1266,9 +1266,9 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
fi
do64bit_ok=yes
if test "x${SHARED_BUILD}" = "x1"; then
- echo "running cd ../win; ${CONFIG_SHELL-/bin/sh} ./configure $ac_configure_args"
+ echo "running cd ${TCL_SRC_DIR}/win; ${CONFIG_SHELL-/bin/sh} ./configure $ac_configure_args"
# The eval makes quoting arguments work.
- if cd ../win; eval ${CONFIG_SHELL-/bin/sh} ./configure $ac_configure_args; cd ../unix
+ if cd ${TCL_SRC_DIR}/win; eval ${CONFIG_SHELL-/bin/sh} ./configure $ac_configure_args; cd ../unix
then :
else
{ echo "configure: error: configure failed for ../win" 1>&2; exit 1; }