PR#5403: give better error message when emacs is not found in PATH

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12118 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 2012-02-03 16:04:49 +00:00
parent b31d4272bc
commit 1afe70ff8a
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ COMPILECMD=(progn \
install:
@if test "$(EMACSDIR)" = ""; then \
$(EMACS) --batch --eval 't; see PR#5403'; \
set xxx `($(EMACS) --batch --eval "(mapcar 'print load-path)") \
2>/dev/null | \
sed -n -e 's/^"\(.*\/site-lisp\).*/\1/gp' | \