Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D923611334 for ; Wed, 13 Aug 2014 15:57:16 +0000 (UTC) Received: (qmail 55745 invoked by uid 500); 13 Aug 2014 15:57:16 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 55687 invoked by uid 500); 13 Aug 2014 15:57:16 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 55672 invoked by uid 99); 13 Aug 2014 15:57:16 -0000 Received: from reviews-vm.apache.org (HELO reviews.apache.org) (140.211.11.40) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Aug 2014 15:57:16 +0000 Received: from reviews.apache.org (localhost [127.0.0.1]) by reviews.apache.org (Postfix) with ESMTP id AF55A1D9D89; Wed, 13 Aug 2014 15:57:15 +0000 (UTC) Content-Type: multipart/alternative; boundary="===============8064827454285529173==" MIME-Version: 1.0 Subject: Re: Review Request 24407: Use curl-config to locate lib curl when possible From: "Timothy St. Clair" To: "Timothy St. Clair" Cc: "Chris Heller" , "mesos" Date: Wed, 13 Aug 2014 15:57:15 -0000 Message-ID: <20140813155715.1261.311@reviews.apache.org> X-ReviewBoard-URL: https://reviews.apache.org Auto-Submitted: auto-generated Sender: "Timothy St. Clair" X-ReviewGroup: mesos X-ReviewRequest-URL: https://reviews.apache.org/r/24407/ X-Sender: "Timothy St. Clair" References: <20140811192818.10842.91362@reviews.apache.org> In-Reply-To: <20140811192818.10842.91362@reviews.apache.org> Reply-To: "Timothy St. Clair" X-ReviewRequest-Repository: mesos-git --===============8064827454285529173== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/24407/#review50460 ----------------------------------------------------------- The option description needs to be added e.g. - AC_ARG_WITH([glog], AS_HELP_STRING([--with-glog@<:@=DIR@:>@], [excludes building and using the bundled glog package in lieu of an installed version at a location prefixed by the given path]), [without_bundled_glog=yes], []) Also, you can update the patch via "Update->Update Diff" - Timothy St. Clair On Aug. 11, 2014, 7:28 p.m., Chris Heller wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/24407/ > ----------------------------------------------------------- > > (Updated Aug. 11, 2014, 7:28 p.m.) > > > Review request for mesos and Timothy St. Clair. > > > Repository: mesos-git > > > Description > ------- > > 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 > ----- > > configure.ac a9cc6df > > 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 > > --===============8064827454285529173==--