summaryrefslogtreecommitdiffstats
path: root/win/configure.in
diff options
context:
space:
mode:
authornijtmans <nijtmans>2010-11-18 23:15:18 (GMT)
committernijtmans <nijtmans>2010-11-18 23:15:18 (GMT)
commitb5934db8a3f647cc07e6c0119e3229044b431f3c (patch)
treeece5b56a22873f6b77471f27d2b83f5a00378381 /win/configure.in
parentf28ef85d5042bec36c50cd1cffae54933cc04cfc (diff)
downloadtcl-b5934db8a3f647cc07e6c0119e3229044b431f3c.zip
tcl-b5934db8a3f647cc07e6c0119e3229044b431f3c.tar.gz
tcl-b5934db8a3f647cc07e6c0119e3229044b431f3c.tar.bz2
Set NO_VIZ=1 when zlib is compiled in libtcl,
this resolves compiler warnings in 64-bit and static builds.
Diffstat (limited to 'win/configure.in')
-rw-r--r--win/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/win/configure.in b/win/configure.in
index 4690269..f36962c 100644
--- a/win/configure.in
+++ b/win/configure.in
@@ -3,7 +3,7 @@
# generate the file "configure", which is run during Tcl installation
# to configure the system for the local environment.
#
-# RCS: @(#) $Id: configure.in,v 1.124 2010/09/28 15:13:55 rmax Exp $
+# RCS: @(#) $Id: configure.in,v 1.125 2010/11/18 23:15:18 nijtmans Exp $
AC_INIT(../generic/tcl.h)
AC_PREREQ(2.59)
@@ -326,6 +326,7 @@ AS_IF([test "$tcl_ok" = "yes"], [
AC_SUBST(ZLIB_LIBS,[\${ZLIB_DIR}/win32/zdll.lib])
], [
AC_SUBST(ZLIB_OBJS,[\${ZLIB_OBJS}])
+ AC_DEFINE_UNQUOTED(NO_VIZ, 1)
])
AC_DEFINE(HAVE_ZLIB, 1, [Is there an installed zlib?])