diff options
author | Marc-André Lureau | 2019-09-19 19:02:09 +0200 |
---|---|---|
committer | Paolo Bonzini | 2020-08-21 12:30:45 +0200 |
commit | e8f3bd71d830f986c950439c0d125f4bab8e0313 (patch) | |
tree | b13dc3dc73bc3dc2f2ffb2c846a7fa142070c191 /meson.build | |
parent | meson: convert VNC and dependent libraries to meson (diff) | |
download | qemu-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.build | 3 |
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) |