This is the mail archive of the automake@gnu.org mailing list for the automake project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: why removing configure substitutions for myprog_DEPENDENCIES?


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



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]