error('ln does not support --relative (added in coreutils 8.16)')
endif
-############################################################
+#####################################################################
gperf = find_program('gperf')
conf.set('GPERF_LEN_TYPE', gperf_len_type,
description : 'The type of gperf "len" parameter')
-############################################################
+#####################################################################
if not cc.has_header('sys/capability.h')
error('POSIX caps headers not found')
cc.has_header(header))
endforeach
-############################################################
+#####################################################################
fallback_hostname = get_option('fallback-hostname')
if fallback_hostname == '' or fallback_hostname[0] == '.' or fallback_hostname[0] == '-'
conf.set10('SYSTEMD_SLOW_TESTS_DEFAULT', slow_tests)
-############################################################
+#####################################################################
pymod = import('python')
python = pymod.find_installation('python3', required : true, modules : ['jinja2'])
python_39 = python.language_version().version_compare('>=3.9')
-############################################################
+#####################################################################
if conf.get('BPF_FRAMEWORK') == 1
bpf_clang_flags = [
want_ukify = get_option('ukify').require(python_39, error_message : 'Python >= 3.9 required').allowed()
conf.set10('ENABLE_UKIFY', want_ukify)
-############################################################
+#####################################################################
check_version_history_py = find_program('tools/check-version-history.py')
elf2efi_py = find_program('tools/elf2efi.py')
update_syscall_tables_sh = find_program('tools/update-syscall-tables.sh')
xml_helper_py = find_program('tools/xml_helper.py')
-############################################################
+#####################################################################
version_tag = get_option('version-tag')
version_h = vcs_tag(
shared_lib_tag = meson.project_version()
endif
-############################################################
+#####################################################################
if get_option('b_coverage')
userspace_c_args += ['-include', 'src/basic/coverage.h']
endif
-############################################################
+#####################################################################
config_h = configure_file(
output : 'config.h',
man_page_depends = []
-############################################################
+#####################################################################
simple_tests = []
libsystemd_tests = []
c_args : static_libudev_pic ? [] : ['-fno-PIC'],
pic : static_libudev_pic)
-############################################################
+#####################################################################
runtest_env = custom_target(
'systemd-runtest.env',
test_cflags += cc.first_supported_argument('-Wno-maybe-uninitialized')
endif
-############################################################
+#####################################################################
executable_template = {
'include_directories' : includes,
'dependencies' : userspace,
}
-############################################################
+#####################################################################
# systemd-analyze requires 'libcore'
subdir('src/core')
alias_target('devel', libsystemd_pc, libudev_pc, systemd_pc, udev_pc)
-############################################################
+#####################################################################
foreach test : simple_tests
executables += test_template + { 'sources' : [test] }
alias_target('fuzzers', fuzzer_exes)
-############################################################
+#####################################################################
test_dlopen = executables_by_name.get('test-dlopen')
endif
endforeach
-############################################################
+#####################################################################
ukify = custom_target(
'ukify',
libexecdir / 'ukify'))
endif
-############################################################
+#####################################################################
subdir('rules.d')
subdir('test')
-############################################################
+#####################################################################
subdir('docs/sysvinit')
subdir('docs/var-log')
install_emptydir(systemdstatedir)
-############################################################
+#####################################################################
# Ensure that changes to the docs/ directory do not break the
# basic Github pages build. But only run it in developer mode,
'--destination', project_build_root / '_site'])
endif
-############################################################
+#####################################################################
check_help = find_program('tools/check-help.sh')
check_version = find_program('tools/check-version.sh')
endif
endforeach
-############################################################
+#####################################################################
if git.found()
all_files = run_command(
'HEAD'])
endif
-############################################################
+#####################################################################
check_api_docs_sh = find_program('tools/check-api-docs.sh')
run_target(
command : [export_dbus_interfaces_py, '@OUTPUT@', dbus_programs])
endif
-############################################################
+#####################################################################
alt_time_epoch = run_command('date', '-Is', '-u', '-d', '@@0@'.format(time_epoch),
check : true).stdout().strip()