build: add explicit logind provider option, auto-detect by default
Allow package maintainers to explicitly select a logind provider by passing -Dlogind=systemd or -Dlogind=elogind. In case both are available (e.g. for distributions which support both), this makes it possible to gte deterministic behavior. By default, auto-detect the logind provider. That way, users which have systemd or elogind installed get the backend built by default.
This commit is contained in:
parent
3ce4c57814
commit
385cc0039d
2 changed files with 14 additions and 10 deletions
|
@ -1,4 +1,4 @@
|
|||
option('logind', type: 'feature', value: 'disabled', description: 'logind support')
|
||||
option('logind', type: 'combo', choices: ['auto', 'disabled', 'elogind', 'systemd'], value: 'auto', description: 'logind support')
|
||||
option('seatd', type: 'feature', value: 'enabled', description: 'seatd support')
|
||||
option('builtin', type: 'feature', value: 'disabled', description: 'builtin seatd server')
|
||||
option('server', type: 'feature', value: 'enabled', description: 'seatd server')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue