mirror of
https://github.com/dovecot/core.git
synced 2026-10-23 22:08:58 +03:00
meson: systemd
This commit is contained in:
committed by
timo.sirainen
parent
adbf86d581
commit
662be900ad
@@ -134,6 +134,7 @@ subdir('meson' / 'pcre')
|
||||
subdir('meson' / 'gssapi')
|
||||
subdir('meson' / 'crypt')
|
||||
subdir('meson' / 'unwind')
|
||||
subdir('meson' / 'systemd')
|
||||
|
||||
dovecot_moduledir = get_option('moduledir')
|
||||
if dovecot_moduledir == ''
|
||||
|
||||
@@ -14,6 +14,7 @@ option('random-source', type: 'string', value : '/dev/urandom', description: 'De
|
||||
option('ioloop', type: 'combo', choices: ['best', 'epoll', 'kqueue', 'poll', 'select'], value: 'best', description: 'I/O loop method to use (best for the fastest available)')
|
||||
option('notify', type: 'combo', choices: ['best', 'inotify', 'kqueue', 'none'], value: 'best', description: 'File system notification method to use (best for the fastest available)')
|
||||
option('libunwind', type: 'feature', value: 'auto', description: 'Build with libunwind support (better backtraces)')
|
||||
option('systemd', type: 'feature', value: 'auto', description: 'Build with systemd support (sd_notify and socket activation)')
|
||||
option('sodium', type: 'feature', value: 'auto', description: 'Build with libsodium support (enables argon2)')
|
||||
option('pcre', type: 'feature', value: 'auto', description: 'Build with libpcre2 support (enables regular expressions)')
|
||||
option('gssapi', type: 'combo', choices: ['disabled', 'enabled', 'auto', 'plugin'], value: 'disabled', description: 'Build with GSSAPI authentication support')
|
||||
|
||||
12
meson/systemd/meson.build
Normal file
12
meson/systemd/meson.build
Normal file
@@ -0,0 +1,12 @@
|
||||
# TODO: Autoconf also resolves systemdsystemunitdir from the systemd .pc file and installs
|
||||
# the unit files there. That belongs with the src/master port.
|
||||
|
||||
ext_systemd = dependency('libsystemd', required: get_option('systemd'))
|
||||
|
||||
conf.set(
|
||||
'HAVE_LIBSYSTEMD',
|
||||
ext_systemd.found(),
|
||||
description: 'Have libsystemd',
|
||||
)
|
||||
|
||||
summary({'systemd': ext_systemd}, section: 'Features')
|
||||
Reference in New Issue
Block a user