mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
meson: add secrets driver build option
Signed-off-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Neal Gompa <ngompa13@gmail.com>
This commit is contained in:
parent
89064c9e37
commit
1f93990dc7
11
configure.ac
11
configure.ac
@ -130,17 +130,6 @@ dnl Need to test if pkg-config exists
|
||||
PKG_PROG_PKG_CONFIG
|
||||
|
||||
|
||||
LIBVIRT_ARG_WITH_FEATURE([SECRETS], [local secrets management driver], [yes])
|
||||
|
||||
if test "$with_libvirtd" = "no"; then
|
||||
with_secrets=no
|
||||
fi
|
||||
if test "$with_secrets" = "yes" ; then
|
||||
AC_DEFINE_UNQUOTED([WITH_SECRETS], 1, [whether local secrets management driver is available])
|
||||
fi
|
||||
AM_CONDITIONAL([WITH_SECRETS], [test "$with_secrets" = "yes"])
|
||||
|
||||
|
||||
dnl
|
||||
dnl Storage driver checks
|
||||
dnl
|
||||
|
@ -1834,6 +1834,10 @@ if not get_option('driver_qemu').disabled()
|
||||
endif
|
||||
endif
|
||||
|
||||
if not get_option('driver_secrets').disabled() and conf.has('WITH_LIBVIRTD')
|
||||
conf.set('WITH_SECRETS', 1)
|
||||
endif
|
||||
|
||||
if get_option('driver_test').enabled()
|
||||
conf.set('WITH_TEST', 1)
|
||||
endif
|
||||
|
@ -62,6 +62,7 @@ option('qemu_user', type: 'string', value: '', description: 'username to run QEM
|
||||
option('qemu_group', type: 'string', value: '', description: 'groupname to run QEMU system instance as')
|
||||
option('driver_remote', type: 'feature', value: 'enabled', description: 'remote driver')
|
||||
option('remote_default_mode', type: 'combo', choices: ['legacy', 'direct'], value: 'legacy', description: 'remote driver default mode')
|
||||
option('driver_secrets', type: 'feature', value: 'auto', description: 'local secrets management driver')
|
||||
option('driver_test', type: 'feature', value: 'enabled', description: 'test driver')
|
||||
option('driver_vbox', type: 'feature', value: 'enabled', description: 'VirtualBox XPCOMC driver')
|
||||
option('vbox_xpcomc_dir', type: 'string', value: '', description: 'Location of directory containing VirtualBox XPCOMC library')
|
||||
|
Loading…
Reference in New Issue
Block a user