diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-28 21:30:13 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-06-28 21:30:13 (GMT) |
commit | 3ddcfe976b2d00fb28ad55af607078ac9f008ca5 (patch) | |
tree | 3d10ba7765344575dde5a4b7b37f837a82946c1b /unix/configure | |
parent | e00863d655ddd3e79745983995885cc563d3771a (diff) | |
parent | 374cbfedc276dc200fd23f713711ffc43115e13a (diff) | |
download | tcl-3ddcfe976b2d00fb28ad55af607078ac9f008ca5.zip tcl-3ddcfe976b2d00fb28ad55af607078ac9f008ca5.tar.gz tcl-3ddcfe976b2d00fb28ad55af607078ac9f008ca5.tar.bz2 |
only expect tcldde.dll when --enable-shared
Diffstat (limited to 'unix/configure')
-rwxr-xr-x | unix/configure | 6 |
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 |