summaryrefslogtreecommitdiff
path: root/app-misc/vittk/files/vittk-1.3-configure.patch
blob: 0973c0b5d43da6bbd7665ca5859f56c5c8a9a510 (plain)
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
--- a/configure.in
+++ b/configure.in
@@ -14,11 +14,11 @@
 fi
 AC_SUBST(BASH)
 
-AC_PATH_PROG(WISH, wish, NOT_FOUND)
-if test "$WISH" = "NOT_FOUND"; then
-  AC_MSG_ERROR([can not continue: wish not found])
+AC_PATH_PROG(TCLSH, tclsh, NOT_FOUND)
+if test "$TCLSH" = "NOT_FOUND"; then
+  AC_MSG_ERROR([can not continue: tclsh not found])
 fi
-AC_SUBST(WISH)
+AC_SUBST(TCLSH)
 
 AC_PATH_PROG(TASK, task, NOT_FOUND)
 if test "$TASK" = "NOT_FOUND"; then
@@ -30,12 +30,9 @@
 AC_SUBST(FONT)
 
 AC_OUTPUT(task-startstop task-undo Makefile vittk.man vittk)
-chmod 755 task-startstop
-chmod 755 task-undo
-chmod 755 vittk
 
 echo creating ./tclIndex
-echo "auto_mkindex `pwd`; exit" | $WISH
+echo "auto_mkindex `pwd`; exit" | $TCLSH
 
 echo "./configure is done"
 echo "now do \"sudo make install\" or \"make install\""