summaryrefslogtreecommitdiff
blob: 4d374cf06eaf827588ed60bd1b86345358be2019 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
When anything libtcl (bug #247282) this will fail, and we're only finding out
the version of the library anyway, so why not use TCL_VER, which is found using
a slightly less fishy method. -JeR

--- configure.org	2009-12-23 14:53:34.000000000 +0100
+++ configure	2009-12-23 14:56:34.000000000 +0100
@@ -98,8 +98,7 @@
 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`
-	TCL_LIB="-ltcl${LIBPOSTFIX} -lm -lpthread"
+	TCL_LIB="-ltcl${TCL_VER} -lm -lpthread"
 fi
 
 #