blob: ff8f946f1b5cb8a89255f2adaf19899ac916a91d [file] [log] [blame]
William A. Kennington IIIe0538842021-06-11 02:01:58 -07001# 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)