mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-25 04:18:08 +01:00
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`
This commit is contained in:
parent
bceb6516ce
commit
88c0bc4cc6
1 changed files with 2 additions and 10 deletions
8
configure
vendored
8
configure
vendored
|
@ -472,20 +472,12 @@ else
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ -z "${EMACSLISPDIR}" ]; then
|
if [ -z "${EMACSLISPDIR}" ]; then
|
||||||
if pkg-config --exists emacs; then
|
|
||||||
EMACSLISPDIR=$(pkg-config emacs --variable sitepkglispdir)
|
|
||||||
else
|
|
||||||
EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'
|
EMACSLISPDIR='$(prefix)/share/emacs/site-lisp'
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
if [ -z "${EMACSETCDIR}" ]; then
|
if [ -z "${EMACSETCDIR}" ]; then
|
||||||
if pkg-config --exists emacs; then
|
|
||||||
EMACSETCDIR=$(pkg-config emacs --variable sitepkglispdir)
|
|
||||||
else
|
|
||||||
EMACSETCDIR='$(prefix)/share/emacs/site-lisp'
|
EMACSETCDIR='$(prefix)/share/emacs/site-lisp'
|
||||||
fi
|
fi
|
||||||
fi
|
|
||||||
|
|
||||||
printf "Checking if emacs is available... "
|
printf "Checking if emacs is available... "
|
||||||
if emacs --quick --batch > /dev/null 2>&1; then
|
if emacs --quick --batch > /dev/null 2>&1; then
|
||||||
|
|
Loading…
Reference in a new issue