aboutsummaryrefslogtreecommitdiff
path: root/po
diff options
context:
space:
mode:
authorAlex Bennée <alex.bennee@linaro.org>2020-12-10 19:04:12 +0000
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-02 21:03:09 +0100
commit0e8e77d487b3d8ae33158e61c30e1fe5c753a114 (patch)
treec96bd571673e31f02e00165afe261c6c7434cc5b /po
parentf3890e71ac646ffef2216b5b1d6cb1728982880c (diff)
configure: move gettext detection to meson.build
This will allow meson to honour -Dauto_features=disabled later. Suggested-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Alex Bennée <alex.bennee@linaro.org> Acked-by: Paolo Bonzini <pbonzini@redhat.com> Message-Id: <20201210190417.31673-4-alex.bennee@linaro.org>
Diffstat (limited to 'po')
-rw-r--r--po/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/po/meson.build b/po/meson.build
index 1387fd979a..a863f0575f 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1,6 +1,6 @@
i18n = import('i18n')
-if get_option('gettext')
+if find_program('xgettext', required: get_option('gettext')).found()
i18n.gettext(meson.project_name(),
args: '--msgid-bugs-address=qemu-devel@nongnu.org',
preset: 'glib')