Cope with Tcl versions that do not create a tclsh symlink to the version-
authorAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 1 Aug 2008 13:50:52 +0000 (13:50 +0000)
committerAlvaro Herrera <alvherre@alvh.no-ip.org>
Fri, 1 Aug 2008 13:50:52 +0000 (13:50 +0000)
numbered program.  Per persistent buildfarm failures.

Tom Lane

config/tcl.m4
configure

index faa5bf71d4e278857f1d75f35cb16a95fa78e75f..37eac566dc28e53f19b5dfb03520bd5955233a97 100644 (file)
@@ -4,7 +4,7 @@
 
 
 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
   AC_MSG_ERROR([Tcl shell not found])
 fi
index 8029882b01d54ad360dd841f22e445d0f0b2e51c..f6815d3b1ce5d68d432d53044710a636847a65d9 100755 (executable)
--- a/configure
+++ b/configure
@@ -24987,7 +24987,7 @@ fi
 
 # Check for Tcl configuration script tclConfig.sh
 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
   # Extract the first word of "$ac_prog", so it can be a program name with args.
 set dummy $ac_prog; ac_word=$2