[PATCH] configure: drop use of "pkg-config emacs"
authorDavid Bremner <david@tethera.net>
Sun, 6 Dec 2015 16:04:21 +0000 (12:04 +2000)
committerW. Trevor King <wking@tremily.us>
Sat, 20 Aug 2016 21:50:07 +0000 (14:50 -0700)
e0/7d875416895664449eaa0d9677167710bb72ba [new file with mode: 0644]

diff --git a/e0/7d875416895664449eaa0d9677167710bb72ba b/e0/7d875416895664449eaa0d9677167710bb72ba
new file mode 100644 (file)
index 0000000..2b4d37b
--- /dev/null
@@ -0,0 +1,75 @@
+Return-Path: <bremner@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 6FD4F6DE13DA\r
+ for <notmuch@notmuchmail.org>; Sun,  6 Dec 2015 08:32:46 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.319\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.319 tagged_above=-999 required=5 tests=[AWL=0.232,\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 0021weH-oZIc for <notmuch@notmuchmail.org>;\r
+ Sun,  6 Dec 2015 08:32:44 -0800 (PST)\r
+Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197])\r
+ by arlo.cworth.org (Postfix) with ESMTPS id 9F64C6DE12E8\r
+ for <notmuch@notmuchmail.org>; Sun,  6 Dec 2015 08:32:44 -0800 (PST)\r
+Received: from remotemail by fethera.tethera.net with local (Exim 4.84)\r
+ (envelope-from <bremner@tethera.net>)\r
+ id 1a5bnk-0001tt-1c; Sun, 06 Dec 2015 11:04:40 -0500\r
+Received: (nullmailer pid 16436 invoked by uid 1000);\r
+ Sun, 06 Dec 2015 16:04:41 -0000\r
+From: David Bremner <david@tethera.net>\r
+To: Tomi Ollila <tomi.ollila@iki.fi>, David Bremner <david@tethera.net>,\r
+ Andrew Burgess <andrew.burgess@embecosm.com>, notmuch@notmuchmail.org\r
+Subject: [PATCH] configure: drop use of "pkg-config emacs"\r
+Date: Sun,  6 Dec 2015 12:04:21 -0400\r
+Message-Id: <1449417861-16394-1-git-send-email-david@tethera.net>\r
+X-Mailer: git-send-email 2.6.2\r
+In-Reply-To: <m2k2p2rwth.fsf@guru.guru-group.fi>\r
+References: <m2k2p2rwth.fsf@guru.guru-group.fi>\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: Sun, 06 Dec 2015 16:32:46 -0000\r
+\r
+This does not play well with --prefix. As Tomi notes in\r
+id:m2k2p2rwth.fsf@guru.guru-group.fi, people still have the option of\r
+\r
+% ./configure ---emacslispdir=`pkg-config emacs --variable sitepkglispdir`\r
+---\r
+ configure | 6 +-----\r
+ 1 file changed, 1 insertion(+), 5 deletions(-)\r
+\r
+diff --git a/configure b/configure\r
+index 440d678..5f3fb9f 100755\r
+--- a/configure\r
++++ b/configure\r
+@@ -472,11 +472,7 @@ else\r
+ fi\r
\r
+ if [ -z "${EMACSLISPDIR}" ]; then\r
+-    if pkg-config --exists emacs; then\r
+-      EMACSLISPDIR=$(pkg-config emacs --variable sitepkglispdir)\r
+-    else\r
+-      EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'\r
+-    fi\r
++    EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'\r
+ fi\r
\r
+ if [ -z "${EMACSETCDIR}" ]; then\r
+-- \r
+2.6.2\r
+\r