automake
[Top][All Lists]
Advanced

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

Re: ifdef expessions in Makefile.am


From: Peter Johansson
Subject: Re: ifdef expessions in Makefile.am
Date: Thu, 17 Dec 2009 18:05:46 -0500
User-agent: Thunderbird 2.0.0.19 (X11/20090105)

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

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