summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--unix/configure.ac5
-rw-r--r--win/Makefile.in10
-rw-r--r--win/configure.ac5
3 files changed, 9 insertions, 11 deletions
diff --git a/unix/configure.ac b/unix/configure.ac
index 35429b5..ed85184 100644
--- a/unix/configure.ac
+++ b/unix/configure.ac
@@ -797,11 +797,6 @@ AC_MSG_RESULT([$tcl_ok])
#--------------------------------------------------------------------
#
-# Check for --enable-zipfs flag
-#
-SC_ENABLE_ZIPFS
-
-#
# Find a native zip implementation
#
SC_PROG_ZIP
diff --git a/win/Makefile.in b/win/Makefile.in
index 14868cf..214cf7b 100644
--- a/win/Makefile.in
+++ b/win/Makefile.in
@@ -229,6 +229,7 @@ MINIZIP_OBJS = \
inflate.$(HOST_OBJEXT) \
inftrees.$(HOST_OBJEXT) \
ioapi.$(HOST_OBJEXT) \
+ iowin32.$(HOST_OBJEXT) \
trees.$(HOST_OBJEXT) \
uncompr.$(HOST_OBJEXT) \
zip.$(HOST_OBJEXT) \
@@ -556,7 +557,11 @@ tclMain2.${OBJEXT}: tclMain.c
# TIP #430, ZipFS Support
tclZipfs.${OBJEXT}: $(GENERIC_DIR)/tclZipfs.c
- $(CC) -c $(CC_SWITCHES) $(ZLIB_INCLUDE) -I$(ZLIB_DIR)/contrib/minizip $(GENERIC_DIR)/tclZipfs.c
+ $(CC) -c $(CC_SWITCHES) -DBUILD_tcl \
+ -DCFG_RUNTIME_DLLFILE="\"$(TCL_LIB_FILE)\"" \
+ -DCFG_RUNTIME_ZIPFILE="\"$(TCL_ZIP_FILE)\"" \
+ -DCFG_RUNTIME_PATH="\"$(DLL_INSTALL_DIR)\"" \
+ $(ZLIB_INCLUDE) -I$(ZLIB_DIR)/contrib/minizip @DEPARG@ $(CC_OBJNAME)
# TIP #59, embedding of configuration information into the binary library.
@@ -625,6 +630,9 @@ deflate.$(HOST_OBJEXT):
ioapi.$(HOST_OBJEXT):
$(HOST_CC) -o $@ -I$(ZLIB_DIR) -I$(ZLIB_DIR)/contrib/minizip -c $(ZLIB_DIR)/contrib/minizip/ioapi.c
+iowin32.$(HOST_OBJEXT):
+ $(HOST_CC) -o $@ -I$(ZLIB_DIR) -I$(ZLIB_DIR)/contrib/minizip -c $(ZLIB_DIR)/contrib/minizip/iowin32.c
+
infback.$(HOST_OBJEXT):
$(HOST_CC) -o $@ -I$(ZLIB_DIR) -c $(ZLIB_DIR)/infback.c
diff --git a/win/configure.ac b/win/configure.ac
index 0bb0d7d..cf66fc2 100644
--- a/win/configure.ac
+++ b/win/configure.ac
@@ -182,11 +182,6 @@ AC_CHECK_TYPE([uintptr_t], [
#--------------------------------------------------------------------
#
-# Check for --enable-zipfs flag
-#
-SC_ENABLE_ZIPFS
-
-#
# Find a native zip implementation
#
SC_PROG_ZIP