From: David Bremner Date: Sat, 10 May 2014 00:46:00 +0000 (+0900) Subject: Re: pkg-config zlib check in 3c13bc X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0997210716bfc37b3322ea97b78c7ba20f1c661e;p=notmuch-archives.git Re: pkg-config zlib check in 3c13bc --- diff --git a/81/021a9043bf3e1de8b491812a4fd191c24bee00 b/81/021a9043bf3e1de8b491812a4fd191c24bee00 new file mode 100644 index 000000000..fa14f6e01 --- /dev/null +++ b/81/021a9043bf3e1de8b491812a4fd191c24bee00 @@ -0,0 +1,79 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 247D5431FBF + for ; Fri, 9 May 2014 17:48:02 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: 0 +X-Spam-Level: +X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] + autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id IISPmUSEkUoO for ; + Fri, 9 May 2014 17:47:35 -0700 (PDT) +Received: from mx.xen14.node3324.gplhost.com (gitolite.debian.net + [87.98.215.224]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 0C8E7431FBC + for ; Fri, 9 May 2014 17:47:35 -0700 (PDT) +Received: from remotemail by mx.xen14.node3324.gplhost.com with local (Exim + 4.72) (envelope-from ) + id 1WivQh-0005Ao-1M; Sat, 10 May 2014 00:46:19 +0000 +Received: (nullmailer pid 16280 invoked by uid 1000); Sat, 10 May 2014 + 00:46:00 -0000 +From: David Bremner +To: Tomi Ollila , =?utf-8?B?WMSrY8Oy?= , + notmuch@notmuchmail.org +Subject: Re: pkg-config zlib check in 3c13bc +In-Reply-To: +References: <20140506194025.GA17097@coyotlan.Tlalpan> + + <87lhucv5b8.fsf@maritornes.cs.unb.ca> + +User-Agent: Notmuch/0.18 (http://notmuchmail.org) Emacs/24.3.1 + (x86_64-pc-linux-gnu) +Date: Sat, 10 May 2014 09:46:00 +0900 +Message-ID: <87a9aq5ulz.fsf@maritornes.cs.unb.ca> +MIME-Version: 1.0 +Content-Type: text/plain +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +Precedence: list +List-Id: "Use and development of the notmuch mail system." + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +X-List-Received-Date: Sat, 10 May 2014 00:48:02 -0000 + +Tomi Ollila writes: + +> +> Actually my suggestion would be that if that pkg-config line for +> zlib does not work (btw why does it not work) + +I guess because FreeBSD (and maybe other systems) have a distinction +between the "base system" and "add on packages" and pkg-config only +works for the latter + +> try an option +> where zlib_cflags is expected to be empty and and zlib_ldflags -lz +> -- and try compile and run test program with those options +> then the test program is something like +> +> int main(void) +> { +> return(ZLIB_VERNUM >= 0x1252); +> } + +OK, that sounds like it could work. Ideally, somebody on FreeBSD could +check... + +d