William A. Kennington III | e053884 | 2021-06-11 02:01:58 -0700 | [diff] [blame] | 1 | # Create config.h with constants that use to come from autoconf. |
| 2 | conf_data = configuration_data() |
| 3 | conf_data.set('error_cap', get_option('error_cap')) |
| 4 | conf_data.set('error_info_cap', get_option('error_info_cap')) |
| 5 | conf_data.set('rsyslog_server_conf', get_option('rsyslog_server_conf')) |
| 6 | conf_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 | ) |