summaryrefslogtreecommitdiffstats
path: root/unix/configure
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 21:30:13 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-06-28 21:30:13 (GMT)
commitefe98906ec39464aa29a252ebf213a7365c7fc90 (patch)
tree3d10ba7765344575dde5a4b7b37f837a82946c1b /unix/configure
parent327d5a1c1c8394f99c4d0a4f8cf82ebc4f527430 (diff)
parent50f846b8e0f664d9d8c2e92aef3ea676db9cf172 (diff)
downloadtcl-efe98906ec39464aa29a252ebf213a7365c7fc90.zip
tcl-efe98906ec39464aa29a252ebf213a7365c7fc90.tar.gz
tcl-efe98906ec39464aa29a252ebf213a7365c7fc90.tar.bz2
only expect tcldde.dll when --enable-shared
Diffstat (limited to 'unix/configure')
-rwxr-xr-xunix/configure6
1 files changed, 4 insertions, 2 deletions
diff --git a/unix/configure b/unix/configure
index da725a7..2e36ad2 100755
--- a/unix/configure
+++ b/unix/configure
@@ -7135,7 +7135,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/tcldde14.dll" -a ! -f "../win/tk86.dll"; then
+ if test "x${SHARED_BUILD}" = "x1" -a ! -f "../win/tcldde14.dll" -a ! -f "../win/tk86.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; }; }
@@ -14400,7 +14400,9 @@ _ACEOF
#--------------------------------------------------------------------
if test "$ac_cv_cygwin" = "yes"; then
- TCL_SHLIB_LD_EXTRAS="${TCL_SHLIB_LD_EXTRAS} \${COMPAT_DIR}/zlib/win32/zdll.lib"
+ if test "x${SHARED_BUILD}" = "x1"; then
+ TCL_SHLIB_LD_EXTRAS="${TCL_SHLIB_LD_EXTRAS} \${COMPAT_DIR}/zlib/win32/zdll.lib"
+ fi
else
echo "$as_me:$LINENO: checking for struct stat.st_blocks" >&5
echo $ECHO_N "checking for struct stat.st_blocks... $ECHO_C" >&6