1 Return-Path: <bremner@tethera.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 arlo.cworth.org (Postfix) with ESMTP id BD7DF6DE0314
\r
6 for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 03:55:41 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=-0.029 tagged_above=-999 required=5
\r
12 tests=[AWL=-0.018, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01]
\r
14 Received: from arlo.cworth.org ([127.0.0.1])
\r
15 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
16 with ESMTP id EwTIT-70f8W6 for <notmuch@notmuchmail.org>;
\r
17 Tue, 22 Mar 2016 03:55:33 -0700 (PDT)
\r
18 Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
\r
19 by arlo.cworth.org (Postfix) with ESMTPS id 2ACEC6DE02A7
\r
20 for <notmuch@notmuchmail.org>; Tue, 22 Mar 2016 03:55:19 -0700 (PDT)
\r
21 Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
\r
22 (envelope-from <bremner@tethera.net>)
\r
23 id 1aiJyc-00014g-Jk; Tue, 22 Mar 2016 06:55:54 -0400
\r
24 Received: (nullmailer pid 14067 invoked by uid 1000);
\r
25 Tue, 22 Mar 2016 10:55:11 -0000
\r
26 From: David Bremner <david@tethera.net>
\r
27 To: notmuch@notmuchmail.org
\r
28 Subject: [PATCH 01/13] config: autodetect xapian-1.3
\r
29 Date: Tue, 22 Mar 2016 07:54:42 -0300
\r
30 Message-Id: <1458644094-13951-2-git-send-email-david@tethera.net>
\r
31 X-Mailer: git-send-email 2.7.0
\r
32 In-Reply-To: <1458644094-13951-1-git-send-email-david@tethera.net>
\r
33 References: <1458644094-13951-1-git-send-email-david@tethera.net>
\r
34 X-BeenThere: notmuch@notmuchmail.org
\r
35 X-Mailman-Version: 2.1.20
\r
37 List-Id: "Use and development of the notmuch mail system."
\r
38 <notmuch.notmuchmail.org>
\r
39 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
40 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
42 List-Post: <mailto:notmuch@notmuchmail.org>
\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
44 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
46 X-List-Received-Date: Tue, 22 Mar 2016 10:55:41 -0000
\r
48 Mimic the handling of python2 versus python3. In particular if both
\r
49 xapian-config and xapian-config-1.3 are found, use xapian-config
\r
52 1 file changed, 2 insertions(+), 2 deletions(-)
\r
54 diff --git a/configure b/configure
\r
55 index a79f6bd..eb6dbac 100755
\r
58 @@ -51,7 +51,7 @@ CPPFLAGS=${CPPFLAGS:-}
\r
59 CXXFLAGS_for_sh=${CXXFLAGS:-${CFLAGS}}
\r
60 CXXFLAGS=${CXXFLAGS:-\$(CFLAGS)}
\r
61 LDFLAGS=${LDFLAGS:-}
\r
62 -XAPIAN_CONFIG=${XAPIAN_CONFIG:-xapian-config}
\r
63 +XAPIAN_CONFIG=${XAPIAN_CONFIG:-}
\r
66 # We don't allow the EMACS or GZIP Makefile variables inherit values
\r
67 @@ -341,7 +341,7 @@ fi
\r
69 printf "Checking for Xapian development files... "
\r
71 -for xapian_config in ${XAPIAN_CONFIG}; do
\r
72 +for xapian_config in ${XAPIAN_CONFIG} xapian-config xapian-config-1.3; do
\r
73 if ${xapian_config} --version > /dev/null 2>&1; then
\r
74 xapian_version=$(${xapian_config} --version | sed -e 's/.* //')
\r
75 printf "Yes (%s).\n" ${xapian_version}
\r