Search for version-numbered tclsh?

Started by Tom Laneover 17 years ago3 messages
#1Tom Lane
tgl@sss.pgh.pa.us

I notice that the recent patch to enforce finding a tclsh broke a couple
of buildfarm machines. On reflection, I remember that recent Tcl
versions don't automatically create a 'tclsh' symlink, only a
version-numbered program such as 'tclsh8.3'. I suggest that maybe we
ought to allow that without forcing people to set TCLSH manually.
Perhaps have PGAC_PATH_TCLSH do

AC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.5 tclsh8.4 tclsh8.3])

or some such.

regards, tom lane

#2Andrew Dunstan
andrew@dunslane.net
In reply to: Tom Lane (#1)
Re: Search for version-numbered tclsh?

Tom Lane wrote:

I notice that the recent patch to enforce finding a tclsh broke a couple
of buildfarm machines. On reflection, I remember that recent Tcl
versions don't automatically create a 'tclsh' symlink, only a
version-numbered program such as 'tclsh8.3'. I suggest that maybe we
ought to allow that without forcing people to set TCLSH manually.
Perhaps have PGAC_PATH_TCLSH do

AC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.5 tclsh8.4 tclsh8.3])

or some such.

Bleah. I guess we'll have to.

cheers

andrew

#3Alvaro Herrera
alvherre@commandprompt.com
In reply to: Andrew Dunstan (#2)
Re: Search for version-numbered tclsh?

Tom Lane wrote:

Perhaps have PGAC_PATH_TCLSH do

AC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.5 tclsh8.4 tclsh8.3])

or some such.

Applied.

--
Alvaro Herrera http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support