1 Return-Path: <tomi.ollila@iki.fi>
\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 D4A1D6DE13ED
\r
6 for <notmuch@notmuchmail.org>; Sun, 6 Dec 2015 10:10:09 -0800 (PST)
\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org
\r
11 X-Spam-Status: No, score=0.707 tagged_above=-999 required=5 tests=[AWL=0.055,
\r
12 SPF_NEUTRAL=0.652] autolearn=disabled
\r
13 Received: from arlo.cworth.org ([127.0.0.1])
\r
14 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id 5mqnPQahalFH for <notmuch@notmuchmail.org>;
\r
16 Sun, 6 Dec 2015 10:10:07 -0800 (PST)
\r
17 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])
\r
18 by arlo.cworth.org (Postfix) with ESMTP id ED8B86DE13DB
\r
19 for <notmuch@notmuchmail.org>; Sun, 6 Dec 2015 10:10:06 -0800 (PST)
\r
20 Received: from guru.guru-group.fi (localhost [IPv6:::1])
\r
21 by guru.guru-group.fi (Postfix) with ESMTP id 8CAEE100046;
\r
22 Sun, 6 Dec 2015 20:10:15 +0200 (EET)
\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>
\r
24 To: David Bremner <david@tethera.net>,
\r
25 Andrew Burgess <andrew.burgess@embecosm.com>, notmuch@notmuchmail.org
\r
26 Subject: Re: [PATCH] configure: drop use of "pkg-config emacs"
\r
27 In-Reply-To: <1449418220-17790-1-git-send-email-david@tethera.net>
\r
28 References: <m2k2p2rwth.fsf@guru.guru-group.fi>
\r
29 <1449418220-17790-1-git-send-email-david@tethera.net>
\r
30 User-Agent: Notmuch/0.21+32~g73439f8 (http://notmuchmail.org) Emacs/24.3.1
\r
31 (x86_64-unknown-linux-gnu)
\r
32 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL
\r
33 $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F
\r
34 !)g;OY^,BjTbr)Np:%c_o'jj,Z
\r
35 Date: Sun, 06 Dec 2015 20:10:15 +0200
\r
36 Message-ID: <m2d1ujjvnc.fsf@guru.guru-group.fi>
\r
38 Content-Type: text/plain
\r
39 X-BeenThere: notmuch@notmuchmail.org
\r
40 X-Mailman-Version: 2.1.20
\r
42 List-Id: "Use and development of the notmuch mail system."
\r
43 <notmuch.notmuchmail.org>
\r
44 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
\r
45 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
46 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
\r
47 List-Post: <mailto:notmuch@notmuchmail.org>
\r
48 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
49 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
51 X-List-Received-Date: Sun, 06 Dec 2015 18:10:10 -0000
\r
53 On Sun, Dec 06 2015, David Bremner <david@tethera.net> wrote:
\r
55 > This does not play well with --prefix. As Tomi notes in
\r
56 > id:m2k2p2rwth.fsf@guru.guru-group.fi, people still have the option of e.g.
\r
58 > % ./configure ---emacslispdir=`pkg-config emacs --variable sitepkglispdir`
\r
60 > oops, I missed a second use of pkg-config emacs
\r
62 LGTM. Patch applies. I cannot see how this could fail...
\r
67 > configure | 12 ++----------
\r
68 > 1 file changed, 2 insertions(+), 10 deletions(-)
\r
70 > diff --git a/configure b/configure
\r
71 > index 440d678..abd28da 100755
\r
74 > @@ -472,19 +472,11 @@ else
\r
77 > if [ -z "${EMACSLISPDIR}" ]; then
\r
78 > - if pkg-config --exists emacs; then
\r
79 > - EMACSLISPDIR=$(pkg-config emacs --variable sitepkglispdir)
\r
81 > - EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'
\r
83 > + EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'
\r
86 > if [ -z "${EMACSETCDIR}" ]; then
\r
87 > - if pkg-config --exists emacs; then
\r
88 > - EMACSETCDIR=$(pkg-config emacs --variable sitepkglispdir)
\r
90 > - EMACSETCDIR='$(prefix)/share/emacs/site-lisp'
\r
92 > + EMACSETCDIR='$(prefix)/share/emacs/site-lisp'
\r
95 > printf "Checking if emacs is available... "
\r
99 > _______________________________________________
\r
100 > notmuch mailing list
\r
101 > notmuch@notmuchmail.org
\r
102 > https://notmuchmail.org/mailman/listinfo/notmuch
\r