bug-autoconf
[Top][All Lists]
Advanced

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

Re: top_builddir vs. builddir


From: Stepan Kasal
Subject: Re: top_builddir vs. builddir
Date: Wed, 2 Feb 2005 12:44:43 +0100
User-agent: Mutt/1.4.1i

Hi,

On Tue, Feb 01, 2005 at 01:40:11PM -0800, Paul Eggert wrote:
> [...] 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).

OK, I see.  I understand we cannot break the documentation.
I'd (also) say that ac_top_builddir is a badly chosen name.

> > So, with automake, one can use $(top_builddir)/subdir/file
> 
> With Autoconf one is supposed to use "${ac_top_builddir}subdir/file".

That is OK, when you write COMMANDS to configure.ac.  But I wanted to
modify @top_builddir@ so that it is consistent with Automake.

Would you like the attached patch?
(You have to bootstrap ./configure before "make check".)

Have a nice day,
        Stepan

Attachment: ac_top_builddir2.patch
Description: Text document


reply via email to

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