On Mon, Jan 23, 2012 at 03:17:08AM -0800, Marc-André Lureau wrote: > configure.ac | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > > New commits: > commit c5cf7fb3bc4b48ee10c8128d4f2670f870fedad8 > Author: Marc-Andr?? Lureau <[email protected]> > Date: Mon Jan 23 00:54:42 2012 +0100 > > build: use AM_GLIB_GNU_GETTEXT > > For some unknown reason, this set DATADIRNAME='share' on Windows, > which is what is expected. > > Although some people say only IT_PROG_INTLTOOL is necessary, it gets > the path wrong in this case too. > > diff --git a/configure.ac b/configure.ac > index 2dd9e9d..d7dd1c0 100644 > --- a/configure.ac > +++ b/configure.ac > @@ -12,11 +12,11 @@ LT_INIT > AM_MAINTAINER_MODE > > IT_PROG_INTLTOOL([0.40.0])
Calling IT_PROG_INTLTOOL before setting up the GETTEXT stuff is unusual,
most package start by setting GETTEXT_PACKAGE/AC_SUBSTing it, and then they
call IT_PROG_INTLTOOL. Maybe if you put the IT_PROG_INTLTOOL after, you
will no longer need to call AM_GLIB_GNU_GETTEXT?
Christophe
> -AM_GNU_GETTEXT_VERSION([0.17])
> -AM_GNU_GETTEXT([external])
> +GETTEXT_PACKAGE=spice-gtk
> +AC_SUBST(GETTEXT_PACKAGE)
> +AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package
> name])
> +AM_GLIB_GNU_GETTEXT
>
> -AC_SUBST([GETTEXT_PACKAGE], [spice-gtk])
> -AC_DEFINE([GETTEXT_PACKAGE], [PACKAGE_TARNAME], [Define to the gettext
> package name.])
>
> SPICE_GTK_LOCALEDIR=[${datadir}/locale]
> AC_SUBST(SPICE_GTK_LOCALEDIR)
> _______________________________________________
> Spice-commits mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/spice-commits
pgpHtNmo4hIYx.pgp
Description: PGP signature
_______________________________________________ Spice-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/spice-devel
