Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!apple!vsi1!daver!lynx!m5 From: m5@lynx.uucp (Mike McNally) Newsgroups: gnu.utils.bug Subject: GNU make: substitution references Message-ID: <5754@lynx.UUCP> Date: 26 Jun 89 16:28:36 GMT Reply-To: m5@lynx.UUCP (Mike McNally) Distribution: na Organization: Lynx Real-Time Systems Inc, Campbell CA Lines: 21 It seems that GNU make (3.48) doesn't expand the value of a variable in a simple substitution reference: BLAH=balloons BLEE=$(BLAH) . . . echo $(BLEE:oo=OO) # should be ballOOns, instead is $(BLAH) I'm not sure what the "right" thing to do is; I have lots and lots of Makefiles that use the feature as provided by our own brain-dead mutant of "make", and it does do the expansion. I added a call to expand_argument() at the appropriate place in variable.c, but I'm willing to hear arguments to the contrary. -- Mike McNally Lynx Real-Time Systems uucp: {voder,athsys}!lynx!m5 phone: 408 370 2233 Where equal mind and contest equal, go.