Re: Glib: AM_GLIB_GNU_GETTEXT



On 15 September 2012 20:16, Lanoxx <lanoxx gmx net> wrote:
> Hi there,

Hey

> # This will initialize the internationalization
> # capabilities of glib (glib/gi18n.h) and gettext
> IT_PROG_INTLTOOL([0.41.0])
> AM_GNU_GETTEXT_VERSION([0.18.1])
> AM_GNU_GETTEXT([external])
>
> and in autogen.sh i only call autoreconf -ivs

Yeah this is correct. In general avoid the use of AM_GLIB_GNU_GETTEXT.
Check [1] for more info

If you want to use intltool, you have 2 options: remove the gettext
macros or keep them and add something like this to your autogen.sh:

autopoint --force
AUTOPOINT='intltoolize --automake --copy' autoreconf -ivs

Regards

[1] http://blogs.gnome.org/jjardon/2010/10/08/use-upstream-gettext-instead-the-glib-one/

-- 
Javier Jardón Cabezas


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]