mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
meson: shorten code a bit
This commit is contained in:
@@ -1842,9 +1842,6 @@ else
|
||||
endif
|
||||
conf.set10('ENABLE_IMPORTD', have)
|
||||
|
||||
want_kernel_install = get_option('kernel-install')
|
||||
conf.set10('ENABLE_KERNEL_INSTALL', want_kernel_install)
|
||||
|
||||
want_homed = get_option('homed')
|
||||
if want_homed != 'false'
|
||||
have = (conf.get('HAVE_OPENSSL') == 1 and
|
||||
@@ -1861,9 +1858,6 @@ conf.set10('ENABLE_HOMED', have)
|
||||
have = have and conf.get('HAVE_PAM') == 1
|
||||
conf.set10('ENABLE_PAM_HOME', have)
|
||||
|
||||
have = get_option('oomd')
|
||||
conf.set10('ENABLE_OOMD', have)
|
||||
|
||||
want_remote = get_option('remote')
|
||||
if want_remote != 'false'
|
||||
have_deps = [conf.get('HAVE_MICROHTTPD') == 1,
|
||||
@@ -1896,6 +1890,7 @@ foreach term : ['analyze',
|
||||
'idn',
|
||||
'ima',
|
||||
'initrd',
|
||||
'kernel-install',
|
||||
'ldconfig',
|
||||
'localed',
|
||||
'logind',
|
||||
@@ -1904,6 +1899,7 @@ foreach term : ['analyze',
|
||||
'nscd',
|
||||
'nss-myhostname',
|
||||
'nss-systemd',
|
||||
'oomd',
|
||||
'portabled',
|
||||
'pstore',
|
||||
'quotacheck',
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# SPDX-License-Identifier: LGPL-2.1-or-later
|
||||
|
||||
want_kernel_install = conf.get('ENABLE_KERNEL_INSTALL') == 1
|
||||
|
||||
ukify_install = custom_target(
|
||||
'60-ukify.install',
|
||||
input : '60-ukify.install.in',
|
||||
|
||||
Reference in New Issue
Block a user