%% 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
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
%% "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
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