bug-automake
[Top][All Lists]
Advanced

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

Re: abs_top_builddir not working?


From: Stepan Kasal
Subject: Re: abs_top_builddir not working?
Date: Wed, 11 May 2005 09:38:31 +0200
User-agent: Mutt/1.4.1i

Hello,

On Mon, May 09, 2005 at 06:02:24PM +0200, Harald Dunkel wrote:
> I tried to replace $(top_builddir)
> in a Makefile.am by $(abs_top_builddir), but the new
> Makefile did not define this macro.

Actually, this is a bug/feature of Automake, that these variables
are not propagated by default.

A possible workaround is to place
        AC_SUBST([abs_top_builddir])
to your configure.ac.

I suggest that Automake automatically sets these make variables:

abs_srcdir
abs_builddir
abs_top_srcdir
abs_top_builddir

(Another variable, which is documented in the Autoconf manual but not
propagated to Automake-generated makefiles, is ``builddir'', which
is always set to ``.''--but that was already discussed here.)

Have a nice day,
        Stepan




reply via email to

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