summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMarc-André Lureau2019-09-19 19:02:09 +0200
committerPaolo Bonzini2020-08-21 12:30:45 +0200
commite8f3bd71d830f986c950439c0d125f4bab8e0313 (patch)
treeb13dc3dc73bc3dc2f2ffb2c846a7fa142070c191 /meson.build
parentmeson: convert VNC and dependent libraries to meson (diff)
downloadqemu-e8f3bd71d830f986c950439c0d125f4bab8e0313.tar.gz
qemu-e8f3bd71d830f986c950439c0d125f4bab8e0313.tar.xz
qemu-e8f3bd71d830f986c950439c0d125f4bab8e0313.zip
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>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/meson.build b/meson.build
index 1ae9d42868..62bf8a51c2 100644
--- a/meson.build
+++ b/meson.build
@@ -1115,6 +1115,9 @@ subdir('tools')
subdir('pc-bios')
subdir('tests')
subdir('docs')
+if 'CONFIG_GTK' in config_host
+ subdir('po')
+endif
if build_docs
makeinfo = find_program('makeinfo', required: build_docs)