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