Patrick Hunt updated ZOOKEEPER-273:

    Attachment: ZOOKEEPER-273.patch

this patch conditionally excludes cppunit

./configure --without-cppunit 

will eliminate the check for cppunit. (check is on by default)

Self documenting - ./configure --help will list the available options - 
without-cppunit is included there.

I verified that the build works in both cases - and that unit tests pass if 
option is not used.

> Zookeeper c client build should not depend on CPPUNIT
> -----------------------------------------------------
>                 Key: ZOOKEEPER-273
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-273
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: c client
>            Reporter: Runping Qi
>             Fix For: 3.1.0
>         Attachments: patch_zookeeper_273.txt, ZOOKEEPER-273.patch
> One should be able to build Zookeeper C client libs on a machine without 
> CPPUNIT installation.
> A simple fix is to remove from configure.ac the following line:
> M_PATH_CPPUNIT(1.10.2)

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