support cURL in couchjs.exe
diff --git a/bin/couchdb_config_js180.sh b/bin/couchdb_config_js180.sh
new file mode 100755
index 0000000..741766b
--- /dev/null
+++ b/bin/couchdb_config_js180.sh
@@ -0,0 +1,20 @@
+#!/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/bin/couchdb_config_js185.sh b/bin/couchdb_config_js185.sh
new file mode 100755
index 0000000..6c6c15e
--- /dev/null
+++ b/bin/couchdb_config_js185.sh
@@ -0,0 +1,17 @@
+#!/bin/sh
+COUCH_TOP=`pwd`
+export COUCH_TOP
+
+./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/js-1.8.5/js/src/dist/lib \
+--with-js-include=/relax/js-1.8.5/js/src/dist/include \
+2>&1 | tee $COUCH_TOP/build_configure.txt
+### --enable-static \
+
+echo DONE. | tee -a $COUCH_TOP/build_configure.txt