Article View: gnu.utils.bug
Article #89GNU make: substitution references
From: Mike McNally
Date: Mon, 26 Jun 1989 16:28
Date: Mon, 26 Jun 1989 16:28
21 lines
1109 bytes
1109 bytes
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.
Technical Details
Message-ID:
<5754@lynx.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!rutgers!apple!vsi1!daver!lynx!m5Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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