automake
[Top][All Lists]
Advanced

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

Re: configmake module and automake 1.9.6


From: Bruno Haible
Subject: Re: configmake module and automake 1.9.6
Date: Tue, 14 Dec 2010 22:10:53 +0100
User-agent: KMail/1.9.9

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]