From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <david@tethera.net>
Received: from localhost (localhost [127.0.0.1])
 by arlo.cworth.org (Postfix) with ESMTP id 0E9186DE0C3A
 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 05:07:14 -0800 (PST)
X-Virus-Scanned: Debian amavisd-new at cworth.org
X-Spam-Flag: NO
X-Spam-Score: -0.306
X-Spam-Level: 
X-Spam-Status: No, score=-0.306 tagged_above=-999 required=5 tests=[AWL=0.245, 
 RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled
Received: from arlo.cworth.org ([127.0.0.1])
 by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id CvmABB8JPftM for <notmuch@notmuchmail.org>;
 Sat, 28 Nov 2015 05:07:11 -0800 (PST)
Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])
 by arlo.cworth.org (Postfix) with ESMTPS id 82DF06DE0B44
 for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 05:07:11 -0800 (PST)
Received: from remotemail by fethera.tethera.net with local (Exim 4.84)
 (envelope-from <david@tethera.net>)
 id 1a2fDV-00009m-QB; Sat, 28 Nov 2015 08:07:05 -0500
Received: (nullmailer pid 11835 invoked by uid 1000);
 Sat, 28 Nov 2015 13:07:05 -0000
From: David Bremner <david@tethera.net>
To: Andrew Burgess <andrew.burgess@embecosm.com>, notmuch@notmuchmail.org
Subject: Re: [PATCH] configure: Use $prefix for emacs, even when pkg-config
 is available.
In-Reply-To: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com>
References: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com>
User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1
 (x86_64-pc-linux-gnu)
Date: Sat, 28 Nov 2015 09:07:05 -0400
Message-ID: <87egfa2rye.fsf@zancas.localnet>
MIME-Version: 1.0
Content-Type: text/plain
X-BeenThere: notmuch@notmuchmail.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: "Use and development of the notmuch mail system."
 <notmuch.notmuchmail.org>
List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,
 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
List-Archive: <http://notmuchmail.org/pipermail/notmuch/>
List-Post: <mailto:notmuch@notmuchmail.org>
List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,
 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
X-List-Received-Date: Sat, 28 Nov 2015 13:07:14 -0000

Andrew Burgess <andrew.burgess@embecosm.com> writes:

> Assumming that you have pkg-config installed, emacs installed, and the
> command 'pkg-config emacs --variable sitepkglispdir' returns a
> directory that only root can write to, then the make install above
> should fail.

I agree that the current behaviour is probably wrong. I'm not sure if we
need more control here as Tomi suggests. My biggest concern is that
emacs.pc seems to be rather specific to fedora / redhat packaging, which
makes it hard for me to evaluate both the current handling and this
patch. Do any any Fedora users have opinions on just dropping the
handling of "pkg-config emacs"? Or am I missing other places that
pkg-config file is available?

d