1# Create config.h with constants that use to come from autoconf.
2conf_data = configuration_data()
3conf_data.set('error_cap', get_option('error_cap'))
4conf_data.set('error_info_cap', get_option('error_info_cap'))
5conf_data.set('rsyslog_server_conf', get_option('rsyslog_server_conf'))
6conf_h_dep = declare_dependency(
7    include_directories: include_directories('.'),
8    sources: configure_file(
9        input: 'config.h.meson',
10        output: 'config.h',
11        configuration: conf_data,
12    )
13)
14