[Spice-commits] [Spice-devel] configure.ac
marcandre.lureau at gmail.com
Mon Jan 23 05:56:00 PST 2012
On Mon, Jan 23, 2012 at 1:24 PM, Daniel P. Berrange <berrange at redhat.com> wrote:
> Yeah, you really don't want to be calling both IT_PROG_INTLTOOL *and*
> AM_GLIB_GNU_GETTEXT in the same configure.ac script. It causes a real
> mess which prevents users to overriding the install locations with
> make variables, or configure flags.
> We had this problem in virt-viewer for a while, until we killed off
> the call to AM_GLIB_GNU_GETTEXT.
Unfortunately, with this version on mingw:
AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],"$GETTEXT_PACKAGE", [GETTEXT package name])
I get mo files installed under $prefix/lib instead of $prefix/share,
because DATADIRNAME='lib', which seems to come from the following
# Set DATADIRNAME correctly if it is not set yet
# (copied from glib-gettext.m4)
if test -z "$DATADIRNAME"; then
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
extern int _nl_msg_cat_cntr;
if ac_fn_c_try_link "$LINENO"; then :
I am still investigating, but the current version in git works fine..
More information about the Spice-commits