bug-autoconf
[Top][All Lists]
Advanced

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

Re: top_builddir vs. builddir


From: Paul Eggert
Subject: Re: top_builddir vs. builddir
Date: Tue, 01 Feb 2005 13:40:11 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Stepan Kasal <address@hidden> writes:

> the problem is that this is not consistent with Automake, which defines
> top_builddir = .
> top_builddir = ..
> top_builddir = ../..

OK, but the Autoconf manual documents ac_top_builddir to be either
empty or ../ or ../../ etc.

I'm loath to change the code without changing the documentation,
adding a NEWS item, etc.  Also, personally I prefer the Autoconf
way of doing things, so I'd like to keep the existing functionality
(albeit perhaps with a different name, e.g., ac_top_build_prefix).

> So, with automake, one can use $(top_builddir)/subdir/file

With Autoconf one is supposed to use "${ac_top_builddir}subdir/file".




reply via email to

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