Drop code that creates defines with program paths and update the comment
to reflect current usage of optional_programs.
Signed-off-by: Pavel Hrdina <phrdina(a)redhat.com>
---
meson.build | 10 +---------
1 file changed, 1 insertion(+), 9 deletions(-)
diff --git a/meson.build b/meson.build
index a7d402cd31..d93f2ff469 100644
--- a/meson.build
+++ b/meson.build
@@ -922,7 +922,7 @@ foreach item : required_programs_groups
endforeach
-# optional programs
+# optional programs used while building libvirt
optional_programs = [
'augparse',
@@ -933,14 +933,6 @@ optional_programs = [
foreach name : optional_programs
prog = find_program(name, required: false, dirs: libvirt_sbin_path)
varname = name.underscorify()
- if prog.found()
- prog_path = prog.path()
- else
- prog_path = name
- endif
-
- conf.set_quoted(varname.to_upper(), prog_path)
- conf.set_quoted('@0(a)_PATH'.format(varname.to_upper()), prog_path)
set_variable('@0(a)_prog'.format(varname), prog)
endforeach
--
2.30.2