mirror of
https://github.com/qemu/qemu.git
synced 2024-12-04 01:03:38 +08:00
e8f3bd71d8
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>
8 lines
189 B
Meson
8 lines
189 B
Meson
i18n = import('i18n')
|
|
|
|
if get_option('gettext')
|
|
i18n.gettext(meson.project_name(),
|
|
args: '--msgid-bugs-address=qemu-devel@nongnu.org',
|
|
preset: 'glib')
|
|
endif
|