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

23 lines
691 B
Meson
Raw Permalink 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
configure_file(
input: 'extract_bnf.sh.in',
output: 'extract_bnf.sh',
configuration: tools_conf_data,
)