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>
This commit is contained in:
parent
f3890e71ac
commit
0e8e77d487
3 changed files with 5 additions and 18 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue