aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2015-12-06 11:59:57 -0400
committerDavid Bremner <david@tethera.net>2015-12-06 12:06:11 -0400
commit88c0bc4cc6401b70c8a677edbc9a847de37c1e21 (patch)
tree6f24b24cf6fb91232e40145b61a97dbd97b62606
parentbceb6516cee170d3ad4b620826d48e90f05a12b1 (diff)
configure: drop use of "pkg-config emacs"
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`
-rwxr-xr-xconfigure12
1 files changed, 2 insertions, 10 deletions
diff --git a/configure b/configure
index 440d678c..abd28da1 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... "