Modernize gettext setup
This commit is contained in:
parent
4ea52b3173
commit
6074817264
@ -6,6 +6,8 @@ test -n "${srcdir}" || srcdir="$(pwd)"
|
|||||||
olddir="$(pwd)"
|
olddir="$(pwd)"
|
||||||
cd "$srcdir"
|
cd "$srcdir"
|
||||||
|
|
||||||
|
mkdir -p m4
|
||||||
|
|
||||||
intltoolize
|
intltoolize
|
||||||
autoreconf -i
|
autoreconf -i
|
||||||
|
|
||||||
|
@ -24,14 +24,9 @@ PKG_CHECK_MODULES(EXT, gtk+-3.0 gdk-3.0 gdk-pixbuf-2.0 sm ice alsa
|
|||||||
GLIB_MKENUMS=`$PKG_CONFIG glib-2.0 --variable=glib_mkenums`
|
GLIB_MKENUMS=`$PKG_CONFIG glib-2.0 --variable=glib_mkenums`
|
||||||
AC_SUBST(GLIB_MKENUMS)
|
AC_SUBST(GLIB_MKENUMS)
|
||||||
|
|
||||||
# Setup GETTEXT
|
IT_PROG_INTLTOOL([0.35.0])
|
||||||
#
|
|
||||||
ALL_LINGUAS="af am ar aym bg bi bn_IN bn ca cs da de dz el en es fa_AF fa ff fil fr gu ha he hi ht hu id ig is it ja km ko kos mg mi mk ml mn mr ms mvo nb ne nl pa pap pl ps pt_BR pt quz ro ru rw sd si sk sl sq sv sw ta te th tr tvl tzo ug ur vi wa yo zh_CN zh_TW"
|
|
||||||
|
|
||||||
GETTEXT_PACKAGE=sugar-toolkit-gtk3
|
GETTEXT_PACKAGE=sugar-toolkit-gtk3
|
||||||
AC_PROG_INTLTOOL([0.33])
|
AC_SUBST([GETTEXT_PACKAGE])
|
||||||
AC_SUBST(GETTEXT_PACKAGE)
|
|
||||||
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
|
|
||||||
AM_GLIB_GNU_GETTEXT
|
AM_GLIB_GNU_GETTEXT
|
||||||
|
|
||||||
GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
|
GOBJECT_INTROSPECTION_REQUIRE([1.30.0])
|
||||||
|
Loading…
Reference in New Issue
Block a user