Commit 49f001d8 authored by Alvaro Herrera's avatar Alvaro Herrera

Cope with Tcl versions that do not create a tclsh symlink to the version-

numbered program.  Per persistent buildfarm failures.

Tom Lane
parent e36e6b1c
# $PostgreSQL: pgsql/config/tcl.m4,v 1.6 2008/07/23 17:07:49 petere Exp $ # $PostgreSQL: pgsql/config/tcl.m4,v 1.7 2008/08/01 13:50:52 alvherre Exp $
# Autoconf macros to check for Tcl related things # Autoconf macros to check for Tcl related things
AC_DEFUN([PGAC_PATH_TCLSH], AC_DEFUN([PGAC_PATH_TCLSH],
[AC_PATH_PROGS(TCLSH, [tclsh tcl]) [AC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.5 tclsh8.4 tclsh8.3])
if test x"$TCLSH" = x""; then if test x"$TCLSH" = x""; then
AC_MSG_ERROR([Tcl shell not found]) AC_MSG_ERROR([Tcl shell not found])
fi fi
......
...@@ -24987,7 +24987,7 @@ fi ...@@ -24987,7 +24987,7 @@ fi
# Check for Tcl configuration script tclConfig.sh # Check for Tcl configuration script tclConfig.sh
if test "$with_tcl" = yes; then if test "$with_tcl" = yes; then
for ac_prog in tclsh tcl for ac_prog in tclsh tcl tclsh8.5 tclsh8.4 tclsh8.3
do do
# Extract the first word of "$ac_prog", so it can be a program name with args. # Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2 set dummy $ac_prog; ac_word=$2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment