summaryrefslogtreecommitdiff
path: root/palm/pilot-link-devel/files/patch-ab
blob: 112e540826bd75ac2ac796e225d16b2a19828f09 (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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
--- configure.orig	Sat Dec 13 23:27:17 1997
+++ configure	Wed Jan 14 06:49:36 1998
@@ -9,7 +9,7 @@
 
 # Defaults:
 ac_help=
-ac_default_prefix=/usr/local
+ac_default_prefix=/usr/local/pilot
 # Any additions from configure.in:
 ac_help="$ac_help
   --with-gnu-ld           assume the C compiler uses GNU ld [default=no]"
@@ -818,9 +818,9 @@
 
 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 # It thinks the first close brace ends the variable substitution.
-test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
+INSTALL_PROGRAM='${INSTALL}'
 
-test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
+INSTALL_DATA='${INSTALL} -m 644'
 
 # Extract the first word of "ranlib", so it can be a program name with args.
 set dummy ranlib; ac_word=$2
@@ -2556,7 +2556,9 @@
 itcl=''
 if test "x$with_tcl" = "xyes" || test "x$with_tcl" = "x" ; then
 	for tcl_path in /usr/local/tcl8.0 /usr/local/tcl7.6 /usr/local/tcl7.5 /usr/local /usr /usr/local/tcl7.4; do
-		if test -f $tcl_path/lib/tclConfig.sh; then
+		if test -f $tcl_path/lib/tcl8.0/tclConfig.sh; then
+			with_tcl=$tcl_path; break
+		elif test -f $tcl_path/lib/tclConfig.sh; then
 			with_tcl=$tcl_path; break
 		elif test -f $tcl_path/lib/itcl/tclConfig.sh; then
 			itcl='/itcl'
@@ -2597,13 +2599,13 @@
 elif test "x$with_tcl" = "xno"; then
 	echo "$ac_t""not used" 1>&6
 else
-	tclConfig="$with_tcl/lib$itcl/tclConfig.sh"
+	tclConfig="$with_tcl/lib/tcl8.0$itcl/tclConfig.sh"
 	if test ! -f $tclConfig; then
 		echo "$ac_t""Unable to find tclConfig.sh" 1>&6
 	else
 		. $tclConfig
 		echo "$ac_t""version $TCL_VERSION from $tclConfig" 1>&6
-		TCL_INC="-I$TCL_PREFIX/include$itcl"
+		TCL_INC="-I$TCL_PREFIX/include/tcl8.0$itcl"
 		TCL_BIN="$TCL_EXEC_PREFIX/bin"
 		TCLLIBS="$TCL_LIB_SPEC $TCL_LIBS"
 		TCLTKLIBS="$TCLLIBS"
@@ -2614,7 +2616,7 @@
 		
 		if test "x$with_itcl" = "xyes" || test "x$with_itcl" = "x"; then
 			for itcl_path in $with_tcl; do
-				if test -f $itcl_path/lib$itcl/itclConfig.sh; then
+				if test -f $itcl_path/lib/tcl8.0$itcl/itclConfig.sh; then
 					with_itcl=$itcl_path; break
 				fi
 			done
@@ -2632,13 +2634,13 @@
 		elif test "x$with_itcl" = "xno"; then
 			echo "$ac_t""not used" 1>&6
 		else
-			itclConfig="$with_itcl/lib$itcl/itclConfig.sh"
+			itclConfig="$with_itcl/lib/tcl8.0$itcl/itclConfig.sh"
 			if test ! -f $itclConfig; then
 				echo "$ac_t""Unable to find itclConfig.sh" 1>&6
 			else
 				. $itclConfig
 				echo "$ac_t""version $ITCL_VERSION from $itclConfig" 1>&6
-				ITCL_INC="-I$TK_PREFIX/include$itcl"
+				ITCL_INC="-I$TK_PREFIX/include/tcl8.0$itcl"
 				#TK_BIN="$TK_EXEC_PREFIX/bin"
 				#TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
 				#TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"
@@ -2656,7 +2658,7 @@
 
 		if test "x$with_tk" = "xyes" || test "x$with_tk" = "x"; then
 			for tk_path in $with_tcl; do
-				if test -f $tk_path/lib$itcl/tkConfig.sh; then
+				if test -f $tk_path/lib/tk8.0$itcl/tkConfig.sh; then
 					with_tk=$tk_path; break
 				fi
 			done
@@ -2674,13 +2676,13 @@
 		elif test "x$with_tk" = "xno"; then
 			echo "$ac_t""not used" 1>&6
 		else
-			tkConfig="$with_tk/lib$itcl/tkConfig.sh"
+			tkConfig="$with_tk/lib/tk8.0$itcl/tkConfig.sh"
 			if test ! -f $tkConfig; then
 				echo "$ac_t""Unable to find tkConfig.sh" 1>&6
 			else
 				. $tkConfig
 				echo "$ac_t""version $TK_VERSION from $tkConfig" 1>&6
-				TK_INC="-I$TK_PREFIX/include$itcl"
+				TK_INC="-I$TK_PREFIX/include/tk8.0$itcl"
 				TK_BIN="$TK_EXEC_PREFIX/bin"
 				TKLIBS="$TK_LIB_SPEC $TCL_LIB_SPEC $TK_LIBS"
 				TCLTK_LIBS="\$(TK_LIB_SPEC) \$(TCL_LIB_SPEC) \$(TK_LIBS)"