summaryrefslogtreecommitdiff
path: root/devel/ecos-tools/files/patch-host::tools::configtool::standalone::common::configure
blob: 7663a8a4f05fbf88d4a7ea90509902e434d7bbce (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
--- ../ecos/host/tools/configtool/standalone/common/configure~	Wed Mar 10 16:13:37 2004
+++ ../ecos/host/tools/configtool/standalone/common/configure	Wed Mar 10 16:08:55 2004
@@ -2076,61 +2076,6 @@
 
 	    	    possibles=`echo ${possibles} | sed -e 's,tcl,tk,g'`
 	    
-    tkconfig=""
-    for i in ${possibles}; do
-        if test -r "$i/"tkConfig.sh""; then
-            tkconfig=$i
-            break
-        fi
-    done
-
-	    if test \! -r "${tkconfig}/tkConfig.sh" ; then
-		{ echo "configure: error: unable to locate Tk config file tkConfig.sh" 1>&2; exit 1; }
-	    else
-		. ${tkconfig}/tkConfig.sh
-		if test -z "${TK_INC_DIR}" ; then
-		    if test "${TK_PREFIX}" = "/usr" ; then
-			ecos_tk_includes="${TK_XINCLUDES}"
-		    else
-			ecos_tk_includes="-I${TK_PREFIX}/include ${TK_XINCLUDES}"
-		    fi
-		else
-		    ecos_tk_includes="-I${TK_INC_DIR} ${TK_XINCLUDES}"
-		fi
-
-				if test -z "${TK_LIB_SPEC}" -a "${with_tcl_version+set}" = set ; then
-		    
-    libtk=""
-    for i in ${possibles}; do
-        if test -r "$i/"libtk${with_tcl_version}.a""; then
-            libtk=$i
-            break
-        fi
-    done
-
-		    if test -r "${libtk}/libtk${with_tcl_version}.a" ; then
-			TK_LIB_SPEC="-L${libtk} -ltk${with_tcl_version}"
-		    fi
-		fi
-		if test -z "${TK_LIB_SPEC}" ; then
-		    
-    libtk=""
-    for i in ${possibles}; do
-        if test -r "$i/"libtk.a""; then
-            libtk=$i
-            break
-        fi
-    done
-
-		    if test -r "${libtk}/libtk.a" ; then
-			TK_LIB_SPEC="-L${libtk} -ltk"
-		    fi
-		fi
-		if test -z "${TK_LIB_SPEC}" ; then
-		    { echo "configure: error: ${tkconfig}/tkConfig.sh does not define TK_LIB_SPEC" 1>&2; exit 1; }
-		fi
-		ecos_tk_libs="${TK_LIB_SPEC} ${TK_LIBS}"
-	    fi
 	fi
     fi