allow alternative names for tclsh used on Windows

This commit is contained in:
Andrew Dunstan 2009-02-03 01:24:57 +00:00
parent 623cf5edec
commit b5d23f28ce
2 changed files with 3 additions and 3 deletions

View File

@ -1,10 +1,10 @@
# $PostgreSQL: pgsql/config/tcl.m4,v 1.7 2008/08/01 13:50:52 alvherre Exp $ # $PostgreSQL: pgsql/config/tcl.m4,v 1.8 2009/02/03 01:24:57 adunstan 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 tclsh8.5 tclsh8.4 tclsh8.3]) [AC_PATH_PROGS(TCLSH, [tclsh tcl tclsh8.5 tclsh85 tclsh8.4 tclsh84 tclsh8.3 tclsh83])
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

2
configure vendored
View File

@ -26180,7 +26180,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 tclsh8.5 tclsh8.4 tclsh8.3 for ac_prog in tclsh tcl tclsh8.5 tclsh85 tclsh8.4 tclsh84 tclsh8.3 tclsh83
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