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)
commit374cbfedc276dc200fd23f713711ffc43115e13a (patch)
tree05d7c17d20ea0c5c970f4071dd18a9dd0c5ffcd9 /unix
parentb656e74f8dd0ac733b7e80f251a1abbaff6f0028 (diff)
parentda8fc04baa30e9a6f9948f95d02f8adc4908038a (diff)
downloadtcl-374cbfedc276dc200fd23f713711ffc43115e13a.zip
tcl-374cbfedc276dc200fd23f713711ffc43115e13a.tar.gz
tcl-374cbfedc276dc200fd23f713711ffc43115e13a.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
;;