couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Davis <paul.joseph.da...@gmail.com>
Subject Re: link: CouchDB almost a GNOME dependency during this cycle.
Date Mon, 16 Nov 2009 19:31:23 GMT
On Mon, Nov 16, 2009 at 2:27 PM, Noah Slater <nslater@tumbolia.org> wrote:
>
> On 16 Nov 2009, at 19:01, Paul Davis wrote:
>
>> As soon as I commit the couchjs refactor it should be extremely easy
>> (relatively speaking) to replace the HTTP interface with any sort of
>> bindings that are desired. I made sure to have the HTTP interface
>> enabled by a single function call so that the command line switch to
>> enable it would be simpler. A couple #ifdef's and that could easily be
>> swapped to a ./configure defined implementation. There's also the
>> possibility of having a compile time disabling of the HTTP support
>> which I contemplated for making the cURL dependency optional.
>
> If configure.ac, instead of failing, set a HAS_CURL variable, and #ifdef on
> that.
>
> Ping me if you need help with this bit.
>

Yup, I'm pretty sure the AC_CHECK_[HEADER|LIB] macros can set this and
then put it in configure.h

Paul

Mime
View raw message