2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-22 09:57:41 +00:00
kea/tools/meson.build

28 lines
827 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)
2025-03-15 10:55:41 +01:00
tools_conf_data.set('sysconfdir', '${prefix}/' + SYSCONFDIR)
tools_conf_data.set('localstatedir', '${prefix}/' + LOCALSTATEDIR)
2025-02-07 02:41:02 +01:00
tools_conf_data.set('exec_prefix', '${prefix}')
2025-03-15 10:55:41 +01:00
tools_conf_data.set('libdir', '${exec_prefix}/' + LIBDIR)
2025-02-07 02:41:02 +01:00
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-03-19 09:37:25 +02:00
PATH_REPLACER = configure_file(
2025-02-07 02:41:02 +01:00
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,
)