summaryrefslogtreecommitdiffstats
path: root/win/tcl.m4
diff options
context:
space:
mode:
authornijtmans <nijtmans>2008-12-11 22:30:31 (GMT)
committernijtmans <nijtmans>2008-12-11 22:30:31 (GMT)
commit85aba5fb4879a9d1e77e993796d21973453a20cd (patch)
tree01bb50195b9e551edd9c706c9109db1de681f175 /win/tcl.m4
parent6cb99f7bf8a960b9c8db1d06c4509fea270989b1 (diff)
downloadtcl-85aba5fb4879a9d1e77e993796d21973453a20cd.zip
tcl-85aba5fb4879a9d1e77e993796d21973453a20cd.tar.gz
tcl-85aba5fb4879a9d1e77e993796d21973453a20cd.tar.bz2
Eliminate warning: different 'const' qualifiers
with msvc compiler. A few more 'const' optimizations. fix Windows build (msvc) for TIP #234 implementation
Diffstat (limited to 'win/tcl.m4')
-rw-r--r--win/tcl.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/win/tcl.m4 b/win/tcl.m4
index 1a46527..872b955 100644
--- a/win/tcl.m4
+++ b/win/tcl.m4
@@ -446,7 +446,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
fi
SHLIB_LD=""
SHLIB_LD_LIBS=""
- LIBS="-lws2_32"
+ LIBS="-lws2_32 -lz"
# mingw needs to link ole32 and oleaut32 for [send], but MSVC doesn't
LIBS_GUI="-lgdi32 -lcomdlg32 -limm32 -lcomctl32 -lshell32 -luuid -lole32 -loleaut32"
STLIB_LD='${AR} cr'
@@ -614,7 +614,7 @@ AC_DEFUN([SC_CONFIG_CFLAGS], [
fi
fi
- LIBS="user32.lib advapi32.lib ws2_32.lib"
+ LIBS="user32.lib advapi32.lib ws2_32.lib zdll.lib"
if test "$do64bit" != "no" ; then
# The space-based-path will work for the Makefile, but will
# not work if AC_TRY_COMPILE is called. TEA has the