https://bugzilla.gnome.org/show_bug.cgi?id=786377
+xgettext = find_program('xgettext', required : false)
+
configure_file(output: 'config.h', configuration: at_spi_conf)
# Compat variables for pkgconfig
configure_file(output: 'config.h', configuration: at_spi_conf)
# Compat variables for pkgconfig
if get_option('enable_docs')
subdir('doc/libatspi')
endif
if get_option('enable_docs')
subdir('doc/libatspi')
endif
+
+if xgettext.found()
+ subdir('po')
+endif
--- /dev/null
+i18n = import('i18n')
+
+i18n.gettext('at-spi2-core', preset: 'glib')