summaryrefslogtreecommitdiffstats
path: root/unix
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 21:26:09 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 21:26:09 (GMT)
commit50f846b8e0f664d9d8c2e92aef3ea676db9cf172 (patch)
tree05d7c17d20ea0c5c970f4071dd18a9dd0c5ffcd9 /unix
parenta6843cfc1761412086c9714d78dcc8c18606f792 (diff)
parent000c4e19b196e7fbb12c6cf38589f7b90b8d4127 (diff)
downloadtcl-50f846b8e0f664d9d8c2e92aef3ea676db9cf172.zip
tcl-50f846b8e0f664d9d8c2e92aef3ea676db9cf172.tar.gz
tcl-50f846b8e0f664d9d8c2e92aef3ea676db9cf172.tar.bz2
only expect tcldde.dll when --enable-shared
Diffstat (limited to 'unix')
-rwxr-xr-xunix/configure2
-rw-r--r--unix/tcl.m42
2 files changed, 2 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index f605d8a..0603bfc 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7006,7 +7006,7 @@ echo "$as_me: error: ${CC} is not a cygwin compiler." >&2;}
echo "$as_me: error: CYGWIN compile is only supported with --enable-threads" >&2;}
{ (exit 1); exit 1; }; }
fi
- if test ! -f "../win/tcldde13.dll" -a ! -f "../win/tk85.dll"; then
+ if test "x${SHARED_BUILD}" = "x1" -a ! -f "../win/tcldde13.dll" -a ! -f "../win/tk85.dll"; then
{ { echo "$as_me:$LINENO: error: Please configure and make the ../win directory first." >&5
echo "$as_me: error: Please configure and make the ../win directory first." >&2;}
{ (exit 1); exit 1; }; }
diff --git a/unix/tcl.m4 b/unix/tcl.m4
index 4de157c..3974753 100644
--- a/unix/tcl.m4
+++ b/unix/tcl.m4
@@ -1263,7 +1263,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
if test "x${TCL_THREADS}" = "x0"; then
AC_MSG_ERROR([CYGWIN compile is only supported with --enable-threads])
fi
- if test ! -f "../win/tcldde13.dll" -a ! -f "../win/tk85.dll"; then
+ if test "x${SHARED_BUILD}" = "x1" -a ! -f "../win/tcldde13.dll" -a ! -f "../win/tk85.dll"; then
AC_MSG_ERROR([Please configure and make the ../win directory first.])
fi
;;