Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ esac
#
for TCLPATH_TRY in "/usr/bin/" "/usr/local/bin/" "/bin/"
do
for TCLVER_TRY in "8.4" "8.3" "8.2" "8.1" "8.0"
for TCLVER_TRY in "8.6" "8.5" "8.4" "8.3" "8.2" "8.1" "8.0"
do
if [ -z $TCLSH ]
then
Expand Down Expand Up @@ -98,7 +98,7 @@ then
fi
if [ -n $USE_TCL ]
then
LIBPOSTFIX=`ls -1 /usr/local/lib/ /usr/lib | grep 'libtcl[0-9]' | grep so | sed -e 's/\.so.*//g' -e 's/libtcl//g' | sort -r | head -1`
LIBPOSTFIX=`find /usr/local/lib/ /usr/lib -type f | grep "libtcl[0-9]" | grep so | sed -e 's/.*\///g' -e 's/\.so.*//g' -e 's/libtcl//g' | sort -r | head -1`
TCL_LIB="-ltcl${LIBPOSTFIX} -lm -lpthread"
fi

Expand Down