Re: $(eval) in ifdefs

2004-06-23 Thread Paul D. Smith
%% Keith Hellman <[EMAIL PROTECTED]> writes: kh> I may have stumbled across a defect in make 3.80 concerning kh> $(eval) used in if{def,ndef,eq,neq} (I didn't try many more). This was reported as bug # 1516, which has been fixed. There's a patch attached to the bug report (or of course you c

$(eval) in ifdefs

2004-06-23 Thread Keith Hellman
I may have stumbled across a defect in make 3.80 concerning $(eval) used in if{def,ndef,eq,neq} (I didn't try many more). I have not been able to connect to subversions.gnu.org to test against the CVS source, so this may have already been addressed. I have reproduced the defect on a red hat 7.2 b

Re: Two bugs in one

2004-06-23 Thread Paul D. Smith
%% "Dr. Jörn von Holten" <[EMAIL PROTECTED]> writes: jvh> I would expect the ouput jvh> >>KEEP SMILING<< jvh> >>KEEP<< jvh> 1:yes 2:yes jvh> but I get (using make 3.81beta1) jvh> >>KEEP SMILING<< jvh> >><< Are you sure you're using 3.81beta1? There was definitely a bug like this

Two bugs in one

2004-06-23 Thread "Dr. Jörn von Holten"
Consider the makefile ---snip DEFINED1 := ifdef DEFINED1 STATUS1 := 1:yes else STATUS1 := 1:no endif DEFINED2 := sometext ifdef DEFINED2 STATUS2 := 2:yes else STATUS2 := 2:no endif MESSAGE = KEEP phony1: MESSAGE += SMILING phony2: MESSAGE += all:phony1 phony2 @echo $(STATUS1) $(S