1 Return-Path: <jrollins@finestructure.net>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id BD601431FBC
\r
6 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 15:57:26 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
8 Received: from olra.theworths.org ([127.0.0.1])
\r
9 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
10 with ESMTP id 3ogb6WSnPPgQ for <notmuch@notmuchmail.org>;
\r
11 Sat, 28 Nov 2009 15:57:25 -0800 (PST)
\r
12 Received: from tarap.cc.columbia.edu (tarap.cc.columbia.edu [128.59.29.7])
\r
13 by olra.theworths.org (Postfix) with ESMTP id ECC55431FAE
\r
14 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 15:57:24 -0800 (PST)
\r
15 Received: from servo.finestructure.net (lair.fifthhorseman.net
\r
17 (user=jgr2110 author=jrollins@finestructure.net mech=PLAIN bits=0)
\r
18 by tarap.cc.columbia.edu (8.14.3/8.14.3) with ESMTP id nASNvNlq010199
\r
19 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NOT)
\r
20 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2009 18:57:24 -0500 (EST)
\r
21 Received: from jrollins by servo.finestructure.net with local (Exim 4.69)
\r
22 (envelope-from <jrollins@finestructure.net>)
\r
23 id 1NEXAe-0007FZ-2z; Sat, 28 Nov 2009 18:57:44 -0500
\r
24 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
25 To: notmuch@notmuchmail.org
\r
26 Date: Sat, 28 Nov 2009 18:57:36 -0500
\r
27 Message-Id: <1259452657-27608-2-git-send-email-jrollins@finestructure.net>
\r
28 X-Mailer: git-send-email 1.6.5
\r
29 In-Reply-To: <1259452657-27608-1-git-send-email-jrollins@finestructure.net>
\r
30 References: <1259452657-27608-1-git-send-email-jrollins@finestructure.net>
\r
31 X-No-Spam-Score: Local
\r
32 X-Scanned-By: MIMEDefang 2.65 on 128.59.29.7
\r
33 Subject: [notmuch] [PATCH 2/3] add checking for zlib development libraries
\r
35 X-BeenThere: notmuch@notmuchmail.org
\r
36 X-Mailman-Version: 2.1.12
\r
38 List-Id: "Use and development of the notmuch mail system."
\r
39 <notmuch.notmuchmail.org>
\r
40 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
41 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
42 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
43 List-Post: <mailto:notmuch@notmuchmail.org>
\r
44 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
45 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
46 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
47 X-List-Received-Date: Sat, 28 Nov 2009 23:57:26 -0000
\r
50 configure | 14 +++++++++++++-
\r
51 1 files changed, 13 insertions(+), 1 deletions(-)
\r
53 diff --git a/configure b/configure
\r
54 index ab28fa3..1010799 100755
\r
57 @@ -63,6 +63,15 @@ else
\r
58 errors=$((errors + 1))
\r
61 +if printf 'int main(){return 0;}' | gcc -x c -lz -o /dev/null - > /dev/null 2>&1; then
\r
62 + echo "Checking for zlib development files... Yes."
\r
65 + echo "Checking for zlib development files... No."
\r
67 + errors=$((errors + 1))
\r
70 if pkg-config --modversion valgrind > /dev/null 2>&1; then
\r
71 echo "Checking for valgrind development files... Yes."
\r
72 have_valgrind=-DHAVE_VALGRIND
\r
73 @@ -91,13 +100,16 @@ EOF
\r
74 echo " The talloc library (including development files such as headers)"
\r
75 echo " http://talloc.samba.org/"
\r
77 + if [ $have_zlib -eq 0 ]; then
\r
78 + echo " The zlib library (including development files such as headers)"
\r
82 On a modern, package-based operating system such as Debian, you can
\r
83 install all of the dependencies with the following simple command
\r
86 - sudo apt-get install libxapian-dev libgmime-2.4-dev libtalloc-dev
\r
87 + sudo apt-get install libxapian-dev libgmime-2.4-dev libtalloc-dev libz-dev
\r
89 On other systems, a similar command can be used, but the details of the
\r
90 package names may be different, (such as "devel" in place of "dev").
\r