summaryrefslogtreecommitdiffstats
path: root/games/gracer/files/patch-aa
blob: 4de465a15269732d8f5781ff4fdce910a9d28f20 (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
33
--- configure.in.orig	Wed Nov 24 04:33:25 1999
+++ configure.in	Mon Dec 27 18:07:12 1999
@@ -237,7 +237,7 @@
   tcl_prefix=$with_tcl)
 
 for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do
-  if test -r $tcl_prefix/lib/tclConfig.sh; then
+  if test -r $tcl_prefix/lib/tcl8.2/tclConfig.sh; then
     break;
   fi
 done
@@ -246,18 +246,18 @@
   AC_MSG_ERROR([could't find tclConfig.sh])
 fi
 
-file=${tcl_prefix}/lib/tclConfig.sh
+file=${tcl_prefix}/lib/tcl8.2/tclConfig.sh
 if test ! -r ${file}; then
   AC_MSG_ERROR(tclConfig.sh doesn't exist)
 fi
-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.2])
 . $file
 
 if test $TCL_MAJOR_VERSION -lt 8; then
   AC_MSG_ERROR([tcl version 8.0 or higher is required.])
 fi
 
-TCL_CFLAGS="-I$TCL_SRC_DIR"
+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.2"
 TCL_LDFLAGS="$TCL_LIB_SPEC"
 AC_SUBST(TCL_CFLAGS)
 AC_SUBST(TCL_LDFLAGS)
OpenPOWER on IntegriCloud