Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)

Bernhard Herzog <bh@intevation.de>

From: Bernhard Herzog <bh@intevation.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Brent Verner <brent@rcfile.org>, Peter Eisentraut <peter_e@gmx.net>, Vsevolod Lobko <seva@sevasoft.kiev.ua>, Murray Prior Hobbs <murray@efone.com>, Lamar Owen <lamar.owen@wgcr.org>, pgsql-hackers@postgresql.org
Date: 2002-01-23T18:02:14Z
Lists: pgsql-hackers
Tom Lane <tgl@sss.pgh.pa.us> writes:

> Brent Verner <brent@rcfile.org> writes:
> > | Will it not work to do
> > | 
> > | $(shell echo '$(TCL_SHLIB_LD)' | sed ...
> 
> > No.  I just tested this, and the $@ still got expanded too early.
> 
> [ scratches head ... ]  Where is the expansion happening, then?  Seems
> weird.

The expansion is done by make. It does expand variables recursively,
even for :=. Using $$@ instead of $@ should help in this particular
case, I think.

   Bernhard

-- 
Intevation GmbH                                 http://intevation.de/
Sketch                                 http://sketch.sourceforge.net/
MapIt!                                               http://mapit.de/