summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-09 10:10:20 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-05-09 10:10:20 (GMT)
commit2f3a2a3308b055bd58c2b4cd80aa0202d913ada2 (patch)
tree0bd31dcf7ee7ffa764f0ece7a7c530ed0a933ae7 /unix/tcl.m4
parentf09e51e8788ff8c2a471a01403237b8c4cd9821b (diff)
parent777fc1f403ce2dd7dcf46cc42a059b0fe6363882 (diff)
downloadtcl-2f3a2a3308b055bd58c2b4cd80aa0202d913ada2.zip
tcl-2f3a2a3308b055bd58c2b4cd80aa0202d913ada2.tar.gz
tcl-2f3a2a3308b055bd58c2b4cd80aa0202d913ada2.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 d81af1a..b23b9ac 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1237,9 +1237,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; }