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

Randall Leeds reopened COUCHDB-1042:
------------------------------------

    Skill Level: New Contributors Level (Easy)
       Assignee: Randall Leeds

I think now that the js tests run with make check something is needed here. We 
should issue a warning that these tests won't be run when the dependency isn't 
satisfied, and then not run them.
                
> 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
>            Assignee: Randall Leeds
>            Priority: Minor
>             Fix For: 1.2, 2.0
>
>         Attachments: 0001-make-cURL-an-optional-dependency.patch, 
> 0001-no-lcurl-if-no-curl-support.patch, curl_as_soft_dep.patch, 
> curl_as_soft_dep_v2.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.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to