mirror of https://github.com/djcb/mu.git
meson: make build-time emacs configurable
I.e., use meson build -Demacs=/usr/bin/emacs-27.2 Fixes #2286.
This commit is contained in:
parent
86dd8d2bfb
commit
40517e8a1e
|
@ -125,7 +125,8 @@ awk=find_program(['gawk', 'awk'])
|
|||
# soft dependencies
|
||||
|
||||
# emacs -- needed for mu4e compilation
|
||||
emacs=find_program(['emacs'], version: '>=25.3', required:false)
|
||||
emacs_name=get_option('emacs')
|
||||
emacs=find_program([emacs_name], version: '>=25.3', required:false)
|
||||
if not emacs.found()
|
||||
message('emacs not found; not pre-compiling mu4e sources')
|
||||
endif
|
||||
|
|
|
@ -24,3 +24,8 @@ option('readline',
|
|||
type: 'feature',
|
||||
value: 'auto',
|
||||
description: 'enable readline support for the mu4e repl')
|
||||
|
||||
option('emacs',
|
||||
type: 'string',
|
||||
value: 'emacs',
|
||||
description: 'name/path of the emacs executable')
|
||||
|
|
Loading…
Reference in New Issue