AM_GLIB_DEFINE_LOCALEDIR breaks with autoconf >= 2.59.cvs.2006.05.13-1
Hi,
autoconf >= 2.59.cvs.2006.05.13-1 introduces datarootdir, and derives
datadir from datarootdir. This changes the number of shell expansions
required to resolve ${prefix} in ${datadir} from 2 to 3 and breaks the
AM_GLIB_DEFINE_LOCALEDIR macro from glib-gettext.m4 (libglib2.0-dev).
If you need to run "autoconf" (i.e. when relibtoolizing), beware of
either using autoconf << 2.59.cvs.2006.05.13-1 (i.e. use 2.59a-9), or
pass --datadir to your configure script.
The typical symptom is that your app isn't translated anymore. I've
seen this in epiphany, yelp, epiphany-extensions, nautilus-cd-burner,
libgnomecups, and gtksourceview (this is by looking at my own uploads).
To check whether your package is affected "grep \
AM_GLIB_DEFINE_LOCALEDIR configure.*".
I've filed this against glib upstream as #343825 and against autoconf
in Debian as #370282. (I don't think this is a bug in autoconf.)
Cheers,
--
Loïc Minier <lool@dooz.org>
Reply to: