experimental zlib support
diff --git a/bin/build_zlib.cmd b/bin/build_zlib.cmd
index 98ae8ca..29b07ad 100755
--- a/bin/build_zlib.cmd
+++ b/bin/build_zlib.cmd
@@ -1,16 +1,11 @@
setlocal
-path=%path%;%relax%\7zip;%relax%\nasm;%relax%\strawberry\perl\bin;
-
+path=%path%;c:\mozilla-build\7zip;%relax%\nasm;%relax%\strawberry\perl\bin;
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: clean up existing installs
-:: extract bundle and name
-:: stash SSL version
-del /f/q "%TEMP%\zlib*.tar"
-7z x "%relax%\bits\zlib-*.tar.gz" -y -o"%TEMP%"
-for %%i in ("%TEMP%\zlib-*tar") do set zlib_ver=%%~ni
+7z x "%relax%\bits\zlib-*.zip" -y -o%relax%
+for %%i in ("%") do set zlib_ver=%%~ni
if defined zlib_ver rd /s/q %relax%\%zlib_ver%
setx zlib_ver %zlib_ver%
-7z x "%TEMP%\zlib-*.tar" -o%relax%\ -y
popd
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
@@ -18,9 +13,9 @@
call bld_ml32.bat
popd
pushd %relax%\%zlib_ver%
-vcbuild /rebuild contrib\vstudio\vc9\zlibvc.sln "Release|Win32"
-:: TOOD these need to be put into $RELAX/zlib/
-copy contrib\vstudio\vc9\x86\ZlibStatRelease\zlibstat.lib .
+nmake -f win32\Makefile.msc
+nmake -f win32\Makefile.msc test
+:: copy contrib\vstudio\vc9\x86\ZlibStatRelease\zlibstat.lib .
popd
endlocal
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
diff --git a/bin/couchdb_config_js180.sh b/bin/couchdb_config_js180.sh
deleted file mode 100755
index 741766b..0000000
--- a/bin/couchdb_config_js180.sh
+++ /dev/null
@@ -1,20 +0,0 @@
-#!/bin/sh
-COUCH_TOP=`pwd`
-export COUCH_TOP
-
-# use config.cache to save hours of time on cygwin
-#--cache-file=/tmp/couchdb_config.cache \
-### --enable-static \
-
-./configure \
---prefix=$ERL_TOP/release/win32 \
---with-erlang=$ERL_TOP/release/win32/usr/include \
---with-win32-icu-binaries=/relax/icu \
---with-win32-curl=/relax/curl \
---with-openssl-bin-dir=/relax/openssl/bin \
---with-msvc-redist-dir=/relax \
---with-js-lib=/relax/tracemonkey-57a6ad20eae9/js/src/dist/lib \
---with-js-include=/relax/tracemonkey-57a6ad20eae9/js/src/dist/include \
-2>&1 | tee $COUCH_TOP/build_configure.txt
-
-echo DONE. | tee -a $COUCH_TOP/build_configure.txt
diff --git a/bits/md5sums.txt b/bits/md5sums.txt
index 0bc15fc..5a5fd59 100755
--- a/bits/md5sums.txt
+++ b/bits/md5sums.txt
@@ -17,3 +17,4 @@
1801436936e64598bab5b87b37dc7f87 *vcredist_x86.exe
acda3682dd57e13fcb09da2de0a288be *winsdk_web.exe
b6f4be9dd32090c42994765ff0a832cb *wxMSW-2.8.12.zip
+d6f1eef40a2dd3f17c63d24d8ca402c8 *zlib125.zip
diff --git a/downloads.md b/downloads.md
index d527acb..712cb48 100644
--- a/downloads.md
+++ b/downloads.md
@@ -30,6 +30,7 @@
### OpenSSL and libcURL
http://www.openssl.org/source/openssl-0.9.8r.tar.gz
http://curl.haxx.se/download/curl-7.23.1.zip
+http://zlib.net/zlib125.zip
################################################################################
### bits required to build erlang
http://www.erlang.org/download/otp_src_R15B.tar.gz