|
From: | Assaf Gordon |
Subject: | Re: Automake 1.16.1: problem with non-gnu make and gnulib |
Date: | Sat, 24 Aug 2019 17:53:20 -0600 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 |
Hello Bob, On 2019-08-24 5:26 p.m., Bob Friesenhahn wrote:
On Sat, 24 Aug 2019, Assaf Gordon wrote:This seems like a bug in those two packages. It should never be desirable to refer to the build directory other than by using the knowledge that the build is done using the current directory.hello_LDADD = $(top_builddir)/lib/lib$(PACKAGE).a datamash_LDADD = $(top_builddir)/lib/lib$(PACKAGE).a
Why do you say so? Is there a reference to somewhere authoritative with such recommendation? "top_builddir" is supposed to point to the build directory, and similarly there's "abs_top_builddir", as well as some others: https://www.gnu.org/software/autoconf/manual/autoconf-2.63/html_node/Preset-Output-Variables.html Why shouldn't they be used?
However, This change (regression?) seems to come from automake, perhaps consider a bugfix for future versions.Unfortunately, the 'hello' program is supposed to be a reference example of the right things to do.
That,and the fact it it was working fine for many years and automake versions is the reason I ask why do you think it should not be used.
Thanks, - assaf
[Prev in Thread] | Current Thread | [Next in Thread] |