Eric Blake wrote: > I just ran into an issue where libvirt failed to compile when autotooled > with automake 1.9.6, because automake failed to define $(localedir) and > therefore gnulib's configmake module did not define LOCALEDIR. Any > suggestions on how to make gnulib guarantee $(localedir) will be defined > even when using older automake, such as an extra snippet of code to > include in Makefile.am, and which will not interfere when using newer > automake?
In Makefile.am add: localedir = @localedir@ In configure.ac add: dnl Installation directories. dnl Remove this when you can assume autoconf >= 2.60. AC_SUBST([localedir], ['${datadir}/locale']) Bruno