blob: 490013e97064cb9faae8a21e2ad74d3bb22d21e9 (
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
|
--- configure Thu Aug 7 12:49:27 1997
+++ configure Wed Aug 27 01:18:17 1997
@@ -540,29 +540,34 @@
# Find appropriate tclConfig.sh and
# recover information that Tcl computed with its configure script.
-TCLCONFIGSH=""
-for prefix in $dirlist; do
- if test -f $prefix/lib/tclConfig.sh; then
- TCLCONFIGSH=$prefix/lib/tclConfig.sh
- . $TCLCONFIGSH
- if test `expr \( $TCL_MAJOR_VERSION \< $TCLTK_MAJORNEEDED \) \| \( $TCL_MINOR_VERSION \< $TCLTK_MINORNEEDED \)` = 0
- then
- break
+if [ -z "$TCLCONFIGSH" ] ; then
+ TCLCONFIGSH=""
+ for prefix in $dirlist; do
+ if test -f $prefix/lib/tclConfig.sh; then
+ TCLCONFIGSH=$prefix/lib/tclConfig.sh
+ . $TCLCONFIGSH
+ if test `expr \( $TCL_MAJOR_VERSION \< $TCLTK_MAJORNEEDED \) \| \( $TCL_MINOR_VERSION \< $TCLTK_MINORNEEDED \)` = 0
+ then
+ break
+ fi
fi
- fi
-done
+ done
+fi
test -f "$TCLCONFIGSH" || abort "Can't find any tclConfig.sh"
+. $TCLCONFIGSH
if test `expr \( $TCL_MAJOR_VERSION \< $TCLTK_MAJORNEEDED \) \| \( $TCL_MINOR_VERSION \< $TCLTK_MINORNEEDED \)` = 1
then
abort "Need but can't find tclConfig.sh for Tcl ${TCLTK_MAJORNEEDED}.${TCLTK_MINORNEEDED} or later."
fi
echo "using $TCLCONFIGSH"
-TKCONFIGSH=${prefix}/lib/tkConfig.sh
-test -f "$TKCONFIGSH" || abort "Can't find any tkConfig.sh"
+if [ -z "$TKCONFIGSH" ] ; then
+ TKCONFIGSH=${prefix}/lib/tkConfig.sh
+ test -f "$TKCONFIGSH" || abort "Can't find any tkConfig.sh"
+fi
. $TKCONFIGSH
if test `expr \( $TK_MAJOR_VERSION \< $TCLTK_MAJORNEEDED \) \| \( $TK_MINOR_VERSION \< $TCLTK_MINORNEEDED \)` = 1
- then abort "Need but can't find tkConfig.sh for Tk ${TCLTK_MAJORNEEDED}.${TCLTK_MINORNEEDED} or later."
+ then abort "Need but can't find tkConfig.sh for Tk ${TCLTK_MAJORNEEDED}.${TCLTK_MINORNEEDED} or later."
fi
echo "using $TKCONFIGSH"
--- libs/Makefile.in Wed Aug 6 08:10:43 1997
+++ libs/Makefile.in Wed Aug 27 01:22:36 1997
@@ -28,7 +28,8 @@
SRCDIR = @srcdir@
CFLAGS = -O @TCL_DEFS@ @TK_DEFS@ -I$(SRCDIR) \
- -I$(TK_PREFIX)/include -I$(TK_PREFIX)/include/tcl \
+ -I$(TCL_PREFIX)/include/tcl8.0 \
+ -I$(TK_PREFIX)/include/tk8.0 \
$(XINCLUDES)
INSTALL = @INSTALL@
|