[ 
https://issues.apache.org/jira/browse/COUCHDB-1042?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Randall Leeds updated COUCHDB-1042:
-----------------------------------

    Attachment: 0001-make-cURL-an-optional-dependency.patch

Patch that solves the issue as described.
Tested both with and without a compliant cURL installation.

> make libcurl a soft (optional) dependency
> -----------------------------------------
>
>                 Key: COUCHDB-1042
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1042
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Build System
>    Affects Versions: 1.0.1
>            Reporter: Randall Leeds
>            Priority: Minor
>             Fix For: 1.2, 2.0
>
>         Attachments: 0001-make-cURL-an-optional-dependency.patch
>
>
> CouchDB currently uses libcurl only in couchjs to expose HTTP client 
> functions to the JavaScript environment. This functionality is used by the 
> JavaScript unit tests. For idempotent views it is discouraged to perform I/O 
> in a view function. Therefore, I propose that libcurl be made an optional 
> dependency, automatically detected at build time, and a flag added to couchjs 
> so it can be explicitly enabled in the unit tests (but disabled, by default, 
> for the query server).

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to