automake
[Top][All Lists]
Advanced

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

Re: why removing configure substitutions for myprog_DEPENDENCIES?


From: Harald Dunkel
Subject: Re: why removing configure substitutions for myprog_DEPENDENCIES?
Date: Tue, 19 Apr 2005 16:10:06 +0200
User-agent: Debian Thunderbird 1.0.2 (X11/20050331)

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




reply via email to

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