1 #if 0 /// No systemd-journal in elogind ...
2 # _systemd_headers = '''
14 _systemd_headers = '''
26 # https://github.com/mesonbuild/meson/issues/1633
27 systemd_headers = files(_systemd_headers)
49 #if 0 /// elogind needs them somewhere else
52 subdir : 'elogind/systemd')
55 meson.add_install_script(meson_symlink_headers,
61 ############################################################
65 ['c', '-std=iso9899:1990']]
67 cxx = find_program('c++', required : false)
72 foreach header : _systemd_headers
74 name = ''.join([header, ':'] + opt)
77 args : cc.cmd_array() + ['-c', '-x'] + opt +
78 ['-Werror', '-include',
79 join_paths(meson.current_source_dir(), header)])