--- /dev/null
+Return-Path: <david@tethera.net>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 0E9186DE0C3A\r
+ for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 05:07:14 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.306\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.306 tagged_above=-999 required=5 tests=[AWL=0.245,\r
+ RP_MATCHES_RCVD=-0.55, SPF_PASS=-0.001] autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id CvmABB8JPftM for <notmuch@notmuchmail.org>;\r
+ Sat, 28 Nov 2015 05:07:11 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 82DF06DE0B44\r
+ for <notmuch@notmuchmail.org>; Sat, 28 Nov 2015 05:07:11 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <david@tethera.net>)\r
+ id 1a2fDV-00009m-QB; Sat, 28 Nov 2015 08:07:05 -0500\r
+Received: (nullmailer pid 11835 invoked by uid 1000);\r
+ Sat, 28 Nov 2015 13:07:05 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Andrew Burgess <andrew.burgess@embecosm.com>, notmuch@notmuchmail.org\r
+Subject: Re: [PATCH] configure: Use $prefix for emacs,\r
+ even when pkg-config is available.\r
+In-Reply-To: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com>\r
+References: <1448472725-11684-1-git-send-email-andrew.burgess@embecosm.com>\r
+User-Agent: Notmuch/0.21+7~g55fb7da (http://notmuchmail.org) Emacs/24.5.1\r
+ (x86_64-pc-linux-gnu)\r
+Date: Sat, 28 Nov 2015 09:07:05 -0400\r
+Message-ID: <87egfa2rye.fsf@zancas.localnet>\r
+MIME-Version: 1.0\r
+Content-Type: text/plain\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Sat, 28 Nov 2015 13:07:14 -0000\r
+\r
+Andrew Burgess <andrew.burgess@embecosm.com> writes:\r
+\r
+> Assumming that you have pkg-config installed, emacs installed, and the\r
+> command 'pkg-config emacs --variable sitepkglispdir' returns a\r
+> directory that only root can write to, then the make install above\r
+> should fail.\r
+\r
+I agree that the current behaviour is probably wrong. I'm not sure if we\r
+need more control here as Tomi suggests. My biggest concern is that\r
+emacs.pc seems to be rather specific to fedora / redhat packaging, which\r
+makes it hard for me to evaluate both the current handling and this\r
+patch. Do any any Fedora users have opinions on just dropping the\r
+handling of "pkg-config emacs"? Or am I missing other places that\r
+pkg-config file is available?\r
+\r
+d\r