From b6da7b276246f1a70b6affdcc9613b3499795f2f Mon Sep 17 00:00:00 2001 From: Dave Cottlehuber Date: Thu, 5 Jan 2012 02:57:32 +0100 Subject: [PATCH] support cURL in couchjs.exe --- bin/couchdb_config_js180.sh | 20 ++++++++++++++++++++ bin/couchdb_config_js185.sh | 17 +++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100755 bin/couchdb_config_js180.sh create mode 100755 bin/couchdb_config_js185.sh 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