# Create config.h with constants that use to come from autoconf. | |
conf_data = configuration_data() | |
conf_data.set('error_cap', get_option('error_cap')) | |
conf_data.set('error_info_cap', get_option('error_info_cap')) | |
conf_data.set('rsyslog_server_conf', get_option('rsyslog_server_conf')) | |
conf_h_dep = declare_dependency( | |
include_directories: include_directories('.'), | |
sources: configure_file( | |
input: 'config.h.meson', | |
output: 'config.h', | |
configuration: conf_data, | |
) | |
) |