mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 21:55:25 +00:00
meson: Don't use 'required: true'
It's the default. Signed-off-by: Andrea Bolognani <abologna@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com>
This commit is contained in:
parent
cfef539743
commit
d3fb78f8b3
@ -804,7 +804,7 @@ if host_machine.system() == 'freebsd'
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
foreach name : required_programs
|
foreach name : required_programs
|
||||||
prog = find_program(name, required: true, dirs: libvirt_sbin_path)
|
prog = find_program(name, dirs: libvirt_sbin_path)
|
||||||
varname = name.underscorify()
|
varname = name.underscorify()
|
||||||
conf.set_quoted(varname.to_upper(), prog.path())
|
conf.set_quoted(varname.to_upper(), prog.path())
|
||||||
conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog.path())
|
conf.set_quoted('@0@_PATH'.format(varname.to_upper()), prog.path())
|
||||||
@ -812,7 +812,7 @@ foreach name : required_programs
|
|||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
foreach item : required_programs_groups
|
foreach item : required_programs_groups
|
||||||
prog = find_program(item.get('prog'), required: true, dirs: libvirt_sbin_path)
|
prog = find_program(item.get('prog'), dirs: libvirt_sbin_path)
|
||||||
varname = item.get('name').underscorify()
|
varname = item.get('name').underscorify()
|
||||||
conf.set_quoted(varname.to_upper(), prog.path())
|
conf.set_quoted(varname.to_upper(), prog.path())
|
||||||
set_variable('@0@_prog'.format(varname), prog)
|
set_variable('@0@_prog'.format(varname), prog)
|
||||||
@ -1219,7 +1219,7 @@ if selinux_dep.found()
|
|||||||
conf.set('WITH_SELINUX', 1)
|
conf.set('WITH_SELINUX', 1)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
thread_dep = dependency('threads', required: true)
|
thread_dep = dependency('threads')
|
||||||
pthread_sigmask_code = '''
|
pthread_sigmask_code = '''
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <signal.h>
|
#include <signal.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user