summaryrefslogtreecommitdiffstats
path: root/unix/tcl.m4
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-06-28 11:13:54 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-06-28 11:13:54 (GMT)
commit0b9ab5150af6834798a8ac8d6c411ec8e91531a0 (patch)
tree2c1ed6aeac43100a4b7ad6192471250ff83bc847 /unix/tcl.m4
parentbf7c5e3034c3b7d330c4ab365316dd8a854bb079 (diff)
downloadtk-0b9ab5150af6834798a8ac8d6c411ec8e91531a0.zip
tk-0b9ab5150af6834798a8ac8d6c411ec8e91531a0.tar.gz
tk-0b9ab5150af6834798a8ac8d6c411ec8e91531a0.tar.bz2
Link cygwin wish.exe with win32 tk.dll, only in combination with --enable-shared
Diffstat (limited to 'unix/tcl.m4')
-rwxr-xr-xunix/tcl.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index ac9b3bf..2dc6576 100755
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1229,7 +1229,7 @@ dnl AC_CHECK_TOOL(AR, ar)
if test "x${TCL_THREADS}" = "x0"; then
AC_MSG_ERROR([CYGWIN compile is only supported with --enable-threads])
fi
- if test ! -f "../win/tcldde12.dll" -a ! -f "../win/tk84.dll"; then
+ if test "x${SHARED_BUILD}" = "x1" -a ! -f "../win/tcldde12.dll" -a ! -f "../win/tk84.dll"; then
AC_MSG_ERROR([Please configure and make the ../win directory first.])
fi
;;