From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 7ECFE6DE12E8 for ; Sun, 6 Dec 2015 08:10:28 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.32 X-Spam-Level: X-Spam-Status: No, score=-0.32 tagged_above=-999 required=5 tests=[AWL=0.231, 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 uebp_GaLZK-2 for ; Sun, 6 Dec 2015 08:10:26 -0800 (PST) X-Greylist: delayed 334 seconds by postgrey-1.35 at arlo; Sun, 06 Dec 2015 08:10:26 PST Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 1FC856DE0B29 for ; Sun, 6 Dec 2015 08:10:26 -0800 (PST) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1a5btF-0001yT-DH; Sun, 06 Dec 2015 11:10:21 -0500 Received: (nullmailer pid 17836 invoked by uid 1000); Sun, 06 Dec 2015 16:10:22 -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:10:20 -0400 Message-Id: <1449418220-17790-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:10:28 -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 e.g. % ./configure ---emacslispdir=`pkg-config emacs --variable sitepkglispdir` --- oops, I missed a second use of pkg-config emacs configure | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 440d678..abd28da 100755 --- a/configure +++ b/configure @@ -472,19 +472,11 @@ 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 - if pkg-config --exists emacs; then - EMACSETCDIR=$(pkg-config emacs --variable sitepkglispdir) - else - EMACSETCDIR='$(prefix)/share/emacs/site-lisp' - fi + EMACSETCDIR='$(prefix)/share/emacs/site-lisp' fi printf "Checking if emacs is available... " -- 2.6.2