Hi Joakim,

Joakim Tjernlund wrote:
Thanks, but I can't make that work for me
AM_CONDITIONAL seems to be an automake 1.11 feature

That seems inaccurate because I've used AM_CONDITIONAL since 2004.

and the AC_SUBST variant does not quite fit
Basically I want:
if @TEST@ then
 SUBDIRS+= dir1/dir2/@TEST@
 SUBDIRS+= dir3/dir2/@TEST@
 SUBDIRS+= dir4/@TEST@
....
endif

Would you mind, rather than telling us what syntax you wanna use, let us know why you cannot use AM_CONDITIONAL. In particular it would be useful to know where the value of @TEST@ is decided? What values can @TEST@ take?

Thanks,
Peter

--
Peter Johansson

svndigest maintainer, http://dev.thep.lu.se/svndigest
yat maintainer,       http://dev.thep.lu.se/yat



Reply via email to