diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-05-09 10:10:20 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2014-05-09 10:10:20 (GMT) |
commit | ab90f1f8fd9e0fe7a7667e72da9aa262f8e76ab3 (patch) | |
tree | 4c71697c4a0b077290443714ac87f94ed556cb65 | |
parent | c4c2c878361fd0eddedbffd9d997101b0be49050 (diff) | |
parent | a76d0af8c9f08b4e9008dadbaddcb4b1d415791c (diff) | |
download | tcl-ab90f1f8fd9e0fe7a7667e72da9aa262f8e76ab3.zip tcl-ab90f1f8fd9e0fe7a7667e72da9aa262f8e76ab3.tar.gz tcl-ab90f1f8fd9e0fe7a7667e72da9aa262f8e76ab3.tar.bz2 |
Make Cygwin's "configure" work from another directory than /unix. (Not everything works this way!)
FossilOrigin-Name: b2c0b88e3afc7ac7c501f10bebbec257e54f3b6f
-rwxr-xr-x | unix/configure | 4 | ||||
-rw-r--r-- | unix/tcl.m4 | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/unix/configure b/unix/configure index cfa8451..ce5db6a 100755 --- a/unix/configure +++ b/unix/configure @@ -7079,9 +7079,9 @@ echo "$as_me: error: CYGWIN compile is only supported with --enable-threads" >&2 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; } 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; } |