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

From: Brent Verner <brent(at)rcfile(dot)org>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Peter Eisentraut <peter_e(at)gmx(dot)net>, Vsevolod Lobko <seva(at)sevasoft(dot)kiev(dot)ua>, Murray Prior Hobbs <murray(at)efone(dot)com>, Lamar Owen <lamar(dot)owen(at)wgcr(dot)org>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu problems)
Date: 2002-01-23 17:29:50
Message-ID: 20020123122950.A14509@rcfile.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-sql

[2002-01-23 12:06] Tom Lane said:
| Brent Verner <brent(at)rcfile(dot)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.

apparently the $(shell ...) construct expands any shell-like
vars.

from make's info file:

The `shell' function performs the same function that backquotes
(``') perform in most shells: it does "command expansion".

| > We'll need to use the suggested ifeq($(PORTNAME),linux) test.
|
| I don't much like that since it makes an inappropriate assumption,
| viz that if you're on Linux you must have a TCL_SHLIB_LD value that
| hasn't got any $variables in it. I'd prefer to figure out *why* we
| are getting a premature evaluation.

maybe check for a '$' in the TCL_SHLIB_LD ? I've been trying
$(findstring ...) but have not gotten that to work right yet.

brent

--
"Develop your talent, man, and leave the world something. Records are
really gifts from people. To think that an artist would love you enough
to share his music with anyone is a beautiful thing." -- Duane Allman

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Trond Eivind =?iso-8859-1?q?Glomsr=F8d?= 2002-01-23 17:48:42 autoconf + newer gcc barfs
Previous Message Bruce Momjian 2002-01-23 17:19:49 Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2002-01-23 17:59:00 Re: pltcl build problem on FreeBSD (was: Re: pltlc and
Previous Message Bruce Momjian 2002-01-23 17:19:49 Re: pltcl build problem on FreeBSD (was: Re: pltlc and pltlcu