2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00
Files
kea/tools/meson.build

28 lines
853 B
Meson
Raw Normal View History

2025-02-07 02:41:02 +01:00
tools_conf_data = configuration_data()
tools_conf_data.set('prefix', PREFIX)
tools_conf_data.set('sysconfdir', '${prefix}/' + get_option('sysconfdir'))
tools_conf_data.set('localstatedir', '${prefix}/' + get_option('localstatedir'))
tools_conf_data.set('exec_prefix', '${prefix}')
tools_conf_data.set('libdir', '${exec_prefix}/' + get_option('libdir'))
tools_conf_data.set('SEP', '+')
if BISON.found()
tools_conf_data.set('YACC', BISON.full_path())
2025-02-18 15:54:20 +01:00
else
tools_conf_data.set('YACC', 'bison')
endif
if AWK.found()
tools_conf_data.set('AWK', AWK.full_path())
2025-02-18 15:54:20 +01:00
else
tools_conf_data.set('AWK', 'awk')
endif
2025-02-07 02:41:02 +01:00
configure_file(
input: 'path_replacer.sh.in',
output: 'path_replacer.sh',
configuration: tools_conf_data,
)
2025-02-18 15:54:20 +01:00
configure_file(
input: 'extract_bnf.sh.in',
output: 'extract_bnf.sh',
configuration: tools_conf_data,
)