1999-12-27 23:15:21 +00:00
|
|
|
--- configure.in.orig Wed Nov 24 04:33:25 1999
|
|
|
|
+++ configure.in Mon Dec 27 18:07:12 1999
|
|
|
|
@@ -237,7 +237,7 @@
|
1999-09-28 02:57:19 +00:00
|
|
|
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
|
1999-11-28 18:09:55 +00:00
|
|
|
+ if test -r $tcl_prefix/lib/tcl8.2/tclConfig.sh; then
|
1999-09-28 02:57:19 +00:00
|
|
|
break;
|
|
|
|
fi
|
|
|
|
done
|
1999-12-27 23:15:21 +00:00
|
|
|
@@ -246,18 +246,18 @@
|
1999-09-28 02:57:19 +00:00
|
|
|
AC_MSG_ERROR([could't find tclConfig.sh])
|
|
|
|
fi
|
|
|
|
|
|
|
|
-file=${tcl_prefix}/lib/tclConfig.sh
|
1999-11-28 18:09:55 +00:00
|
|
|
+file=${tcl_prefix}/lib/tcl8.2/tclConfig.sh
|
1999-09-28 02:57:19 +00:00
|
|
|
if test ! -r ${file}; then
|
|
|
|
AC_MSG_ERROR(tclConfig.sh doesn't exist)
|
|
|
|
fi
|
|
|
|
-AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib])
|
1999-11-28 18:09:55 +00:00
|
|
|
+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.2])
|
1999-09-28 02:57:19 +00:00
|
|
|
. $file
|
|
|
|
|
1999-11-28 18:09:55 +00:00
|
|
|
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"
|
1999-12-27 23:15:21 +00:00
|
|
|
+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.2"
|
1999-11-28 18:09:55 +00:00
|
|
|
TCL_LDFLAGS="$TCL_LIB_SPEC"
|
1999-09-28 02:57:19 +00:00
|
|
|
AC_SUBST(TCL_CFLAGS)
|
|
|
|
AC_SUBST(TCL_LDFLAGS)
|