summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornijtmans@users.sourceforge.net <jan.nijtmans>2012-06-28 21:26:09 (GMT)
committernijtmans@users.sourceforge.net <jan.nijtmans>2012-06-28 21:26:09 (GMT)
commit7c5ba33a7678425808fbdd7b2efa79d04b14e22b (patch)
tree05d7c17d20ea0c5c970f4071dd18a9dd0c5ffcd9
parent7f73f247a0e0384f770f47824fb5448edcf5966d (diff)
parent859b7861bcb1e9069692d8139d5ac4d90e7b83f2 (diff)
downloadtcl-7c5ba33a7678425808fbdd7b2efa79d04b14e22b.zip
tcl-7c5ba33a7678425808fbdd7b2efa79d04b14e22b.tar.gz
tcl-7c5ba33a7678425808fbdd7b2efa79d04b14e22b.tar.bz2
only expect tcldde.dll when --enable-shared
-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
;;