25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
-
-
-
-
+
+
+
+
|
AC_MSG_ERROR([unable to locate tclConfig.sh. Try --with-tcl.])
fi
for try_tclsh in "$TCLCONFIGPATH/../bin/tclsh" \
"$TCLCONFIGPATH/../bin/tclsh8.6" \
"$TCLCONFIGPATH/../bin/tclsh8.5" \
"$TCLCONFIGPATH/../bin/tclsh8.4" \
`which tclsh` \
`which tclsh8.6` \
`which tclsh8.5` \
`which tclsh8.4` \
`which tclsh 2>/dev/null` \
`which tclsh8.6 2>/dev/null` \
`which tclsh8.5 2>/dev/null` \
`which tclsh8.4 2>/dev/null` \
tclsh; do
if test -x "$try_tclsh"; then
break
fi
done
TCLSH_PROG="${try_tclsh}"
|