--- configure.orig	Tue Jul 13 01:17:08 1999
+++ configure	Thu Nov  4 08:56:16 1999
@@ -2690,17 +2690,17 @@
 
 fi
 if test "$TCL_DONE" = "0"; then
-  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.1"; then
-    ac_safe=`echo "tcl8.1/tcl.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for tcl8.1/tcl.h""... $ac_c" 1>&6
-echo "configure:2697: checking for tcl8.1/tcl.h" >&5
+  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.2"; then
+    ac_safe=`echo "tcl8.2/tcl.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for tcl8.2/tcl.h""... $ac_c" 1>&6
+echo "configure:2697: checking for tcl8.2/tcl.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
 #line 2702 "configure"
 #include "confdefs.h"
-#include <tcl8.1/tcl.h>
+#include <tcl8.2/tcl.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2707: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2719,7 +2719,7 @@
 fi
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  TCL_HEADER=tcl8.1/tcl.h;ADD_TCL=tcl8.1;TCL_DONE=1
+  TCL_HEADER=tcl8.2/tcl.h;ADD_TCL=tcl8.2;TCL_DONE=1
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -2842,17 +2842,17 @@
 
 fi
 if test "$TK_DONE" = "0"; then
-  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.1"; then
-    ac_safe=`echo "tcl8.1/tk.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for tcl8.1/tk.h""... $ac_c" 1>&6
-echo "configure:2849: checking for tcl8.1/tk.h" >&5
+  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.2"; then
+    ac_safe=`echo "tcl8.2/tk.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for tcl8.2/tk.h""... $ac_c" 1>&6
+echo "configure:2849: checking for tcl8.2/tk.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
 #line 2854 "configure"
 #include "confdefs.h"
-#include <tcl8.1/tk.h>
+#include <tcl8.2/tk.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2871,19 +2871,19 @@
 fi
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  TK_HEADER=tcl8.1/tk.h;TK_DONE=1
+  TK_HEADER=tcl8.2/tk.h;TK_DONE=1
 else
   echo "$ac_t""no" 1>&6
-ac_safe=`echo "tk8.1/tk.h" | sed 'y%./+-%__p_%'`
-echo $ac_n "checking for tk8.1/tk.h""... $ac_c" 1>&6
-echo "configure:2880: checking for tk8.1/tk.h" >&5
+ac_safe=`echo "tk8.2/tk.h" | sed 'y%./+-%__p_%'`
+echo $ac_n "checking for tk8.2/tk.h""... $ac_c" 1>&6
+echo "configure:2880: checking for tk8.2/tk.h" >&5
 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   cat > conftest.$ac_ext <<EOF
 #line 2885 "configure"
 #include "confdefs.h"
-#include <tk8.1/tk.h>
+#include <tk8.2/tk.h>
 EOF
 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
 { (eval echo configure:2890: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
@@ -2902,7 +2902,7 @@
 fi
 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  TK_HEADER=tk8.1/tk.h;TK_DONE=1
+  TK_HEADER=tk8.2/tk.h;TK_DONE=1
 else
   echo "$ac_t""no" 1>&6
 fi
@@ -2912,7 +2912,7 @@
   fi
 fi
 if test "$TK_DONE" = "0"; then
-  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.1"; then
+  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.2"; then
     ac_safe=`echo "tcl8.0/tk.h" | sed 'y%./+-%__p_%'`
 echo $ac_n "checking for tcl8.0/tk.h""... $ac_c" 1>&6
 echo "configure:2919: checking for tcl8.0/tk.h" >&5
@@ -3045,15 +3045,15 @@
 
 fi
 if test "$HAVETCL" = "0"; then
-  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.1"; then
-    echo $ac_n "checking for Tcl_Init in -ltcl8.1""... $ac_c" 1>&6
-echo "configure:3051: checking for Tcl_Init in -ltcl8.1" >&5
-ac_lib_var=`echo tcl8.1'_'Tcl_Init | sed 'y%./+-%__p_%'`
+  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.2"; then
+    echo $ac_n "checking for Tcl_Init in -ltcl82""... $ac_c" 1>&6
+echo "configure:3051: checking for Tcl_Init in -ltcl82" >&5
+ac_lib_var=`echo tcl8.2'_'Tcl_Init | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-ltcl8.1  $LIBS"
+LIBS="-ltcl82  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3059 "configure"
 #include "confdefs.h"
@@ -3081,7 +3081,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="-ltcl8.1 $LIBS"; HAVETCL=1
+  LIBS="-ltcl82 $LIBS"; HAVETCL=1
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for Tcl_Init in -ltcl81""... $ac_c" 1>&6
@@ -3256,15 +3256,15 @@
 
 fi
 if test "$HAVETK" = "0"; then
-  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.1"; then
-    echo $ac_n "checking for Tk_MainLoop in -ltk8.1""... $ac_c" 1>&6
-echo "configure:3262: checking for Tk_MainLoop in -ltk8.1" >&5
-ac_lib_var=`echo tk8.1'_'Tk_MainLoop | sed 'y%./+-%__p_%'`
+  if test "$TCL_VERSION" = "" || test "$TCL_VERSION" = "8.2"; then
+    echo $ac_n "checking for Tk_MainLoop in -ltk82""... $ac_c" 1>&6
+echo "configure:3262: checking for Tk_MainLoop in -ltk82" >&5
+ac_lib_var=`echo tk8.2'_'Tk_MainLoop | sed 'y%./+-%__p_%'`
 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
   echo $ac_n "(cached) $ac_c" 1>&6
 else
   ac_save_LIBS="$LIBS"
-LIBS="-ltk8.1  $LIBS"
+LIBS="-ltk82  $LIBS"
 cat > conftest.$ac_ext <<EOF
 #line 3270 "configure"
 #include "confdefs.h"
@@ -3292,7 +3292,7 @@
 fi
 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
   echo "$ac_t""yes" 1>&6
-  LIBS="-ltk8.1 $LIBS"; HAVETK=1
+  LIBS="-ltk82 $LIBS"; HAVETK=1
 else
   echo "$ac_t""no" 1>&6
 echo $ac_n "checking for Tk_MainLoop in -ltk81""... $ac_c" 1>&6
