meson: convert po/

Meson warns if xgettext is not found.  In the future we may want to add
a required argument to i18n.gettext(); in the meanwhile, I am adding a
--enable-gettext/--disable-gettext option and feature detection in
configure.  This preserves QEMU's default behavior of detecting system
features, without any warning, if neither --enable-* nor --disable-*
is requested.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
Marc-André Lureau 2019-09-19 21:02:09 +04:00 committed by Paolo Bonzini
parent a0b93237d8
commit e8f3bd71d8
12 changed files with 44 additions and 131 deletions

View file

@ -39,6 +39,7 @@ class FreeBSDVM(basevm.BaseVM):
"bash",
"gmake",
"gsed",
"gettext",
# libs: crypto
"gnutls",

View file

@ -37,6 +37,7 @@ class NetBSDVM(basevm.BaseVM):
"bash",
"gmake",
"gsed",
"gettext",
# libs: crypto
"gnutls",

View file

@ -36,6 +36,7 @@ class OpenBSDVM(basevm.BaseVM):
"bash",
"gmake",
"gsed",
"gettext",
# libs: usb
"libusb1",