--- ./gdb/configure.org	Mon Apr 22 22:31:35 1996
+++ ./gdb/configure	Thu Jan  9 02:42:55 1997
@@ -2479,8 +2479,10 @@
   # This requires checking for both the installed and uninstalled name-styles
   # since we have no idea if it's installed or not.
   if test x"${with_tcllib}" != x ; then
-    if test -f "${with_tcllib}/lib$installedtcllibroot.so" ; then
-      ac_cv_c_tcllib=`(cd ${with_tcllib}; pwd)`/lib$installedtcllibroot.so
+#    if test -f "${with_tcllib}/lib$installedtcllibroot.so" ; then
+#      ac_cv_c_tcllib=`(cd ${with_tcllib}; pwd)`/lib$installedtcllibroot.so
+    if test -f "${with_tcllib}/libtcl$tclmajor$tclminor.so.1.0" ; then
+       ac_cv_c_tcllib="-L`(cd ${with_tcllib}; pwd)` -ltcl$tclmajor$tclminor"
     elif test -f "${with_tcllib}/libtcl.so" ; then
       ac_cv_c_tcllib=`(cd ${with_tcllib}; pwd)`/libtcl.so
     # then look for a freshly built statically linked library
@@ -2831,8 +2833,10 @@
   # This requires checking for both the installed and uninstalled name-styles
   # since we have no idea if it's installed or not.
   if test x"${with_tklib}" != x ; then
-    if test -f "${with_tklib}/lib$installedtklibroot.so" ; then
-      ac_cv_c_tklib=`(cd ${with_tklib}; pwd)`/lib$installedtklibroot.so
+#    if test -f "${with_tklib}/lib$installedtklibroot.so" ; then
+#      ac_cv_c_tklib=`(cd ${with_tklib}; pwd)`/lib$installedtklibroot.so
+    if test -f "${with_tklib}/libtk$tkmajor$tkminor.so.1.0" ; then
+      ac_cv_c_tklib="-L`(cd ${with_tklib}; pwd)` -ltk$tkmajor$tkminor"
       no_tk=""
     elif test -f "${with_tklib}/libtk.so" ; then
       ac_cv_c_tklib=`(cd ${with_tklib}; pwd)`/libtk.so
