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