From dev-return-7312-apmail-couchdb-dev-archive=couchdb.apache.org@couchdb.apache.org Mon Nov 16 19:32:08 2009 Return-Path: Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: (qmail 53778 invoked from network); 16 Nov 2009 19:32:08 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Nov 2009 19:32:08 -0000 Received: (qmail 69744 invoked by uid 500); 16 Nov 2009 19:32:08 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 69665 invoked by uid 500); 16 Nov 2009 19:32:08 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 69655 invoked by uid 99); 16 Nov 2009 19:32:08 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 19:32:08 +0000 X-ASF-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,URIBL_SBL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of paul.joseph.davis@gmail.com designates 209.85.217.211 as permitted sender) Received: from [209.85.217.211] (HELO mail-gx0-f211.google.com) (209.85.217.211) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 16 Nov 2009 19:32:05 +0000 Received: by gxk3 with SMTP id 3so5116648gxk.15 for ; Mon, 16 Nov 2009 11:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type; bh=SB65BB+kKmolQXs7UHLgv9Z0x3owDzT9OkKbjENkYsc=; b=U2oSm2GAAxNRdfRAHKjeE6ZCRXRZvzZuYqVpE4NACjMMS4wN2HZpEGp3Hvf9AJI6ly DBO/8+6DvEsWes4OuKmfFU14ykULeJn7dqNzU18DOqIDDrb8jIejXYpdziMy2iXBcyTR nlhw6LTP7JOKBtUce3VMb9OFIWxBQZCOFiF2o= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=CfsJuqWqJrhmfjj3xVqszJRxs5jdSCMs89FxnUGJ5BUOT/q6MrclNrtHngPxjo62k5 7g9l9jlkmluESEuZZDjLgn2d0JErsicLfHg2lXrsGBFXPPVDE4nyZbJUHm6RYKJ/8539 2ZrfzwF3pSS3y/MSMb1DAOlIiYCrrFRoiUY1o= MIME-Version: 1.0 Received: by 10.101.176.2 with SMTP id d2mr3052406anp.27.1258399903091; Mon, 16 Nov 2009 11:31:43 -0800 (PST) In-Reply-To: <8EB590D6-1329-472F-967D-CE31AEC42BA7@tumbolia.org> References: <1257926000.5227.56.camel@seasc1137.dyn.rnd.as.sw.ericsson.se> <1258020756.3450.3.camel@baqueira> <30747dfa0911121323t762c3756hba432767fec84be3@mail.gmail.com> <1258062281.20836.27.camel@baqueira> <8EB590D6-1329-472F-967D-CE31AEC42BA7@tumbolia.org> From: Paul Davis Date: Mon, 16 Nov 2009 14:31:23 -0500 Message-ID: Subject: Re: link: CouchDB almost a GNOME dependency during this cycle. To: dev@couchdb.apache.org Content-Type: text/plain; charset=ISO-8859-1 On Mon, Nov 16, 2009 at 2:27 PM, Noah Slater 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