-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/24407/
-----------------------------------------------------------

(Updated Aug. 15, 2014, 9:14 p.m.)


Review request for mesos and Timothy St. Clair.


Changes
-------

Adds flags to provide locations of curl, sasl2, and zlib libraries.
Flags append to CPPFLAGS and LDFLAGS with given path plus appropriate /include 
or /lib.
Includes help text for flags.


Repository: mesos-git


Description (updated)
-------

If libcurl.a is located on a non-standard path, the test for libcurl in the 
configure script fails, even if the path is specified in LDFLAGS.

To work around this we can use curl-config to provide the needed path and link 
options to the compiler.

This patch modifies configure.ac to check for curl-config and use its output as 
an argument to AC_CHECK_LIB if possible.


Diffs (updated)
-----

  configure.ac 87bfb7e 

Diff: https://reviews.apache.org/r/24407/diff/


Testing
-------

Tested this on Ubuntu 12.04 against master with libcurl in a path not included 
in LDFLAGS.


File Attachments
----------------

Add --with-curl, --with-sasl2, --with-zlib to configure
  
https://reviews.apache.org/media/uploaded/files/2014/08/11/32382e61-68c9-44d4-8a39-a80c3f9e24e1__0000_configure_with_libs.patch


Thanks,

Chris Heller

Reply via email to