This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Re: why removing configure substitutions for myprog_DEPENDENCIES?
- From: Harald Dunkel <harald at CoWare dot com>
- To: Stepan Kasal <kasal at ucw dot cz>
- Cc: Automake List <automake at gnu dot org>
- Date: Tue, 19 Apr 2005 16:10:06 +0200
- Subject: Re: why removing configure substitutions for myprog_DEPENDENCIES?
- References: <4264FE7B.6060306@coware.com> <20050419130529.GA19271@math.cas.cz>
Stepan Kasal wrote:
> Hello,
>
> On Tue, Apr 19, 2005 at 02:50:03PM +0200, Harald Dunkel wrote:
>
>>Why are the configure substitutions removed?
>
>
> because they are not known at the time when automake runs.
>
Understood.
Would it be possible to compute myprog_DEPENDENCIES at make's
runtime instead? At that time the real set of library names is
known, even for 'make MYLIB=liba.a'. Maybe something like
myprog_DEPENDENCIES = $(patsubst -%,,$(myprog_LDADD))
Probably this is too much gmake, but surely you get the meaning.
Regards
Harri