$NetBSD: patch-ac,v 1.3 1999/01/04 13:05:01 frueauf Exp $

--- configure.in-orig	Sun Dec 13 21:08:20 1998
+++ configure.in	Tue Dec 29 01:33:56 1998
@@ -786,7 +786,7 @@
 dnl If --with-tclconfig was given, don't check for tclsh, tcl
 if test -z "$TCL_DIRS"
 then
-	AC_PATH_PROG(TCLSH, tclsh)
+	AC_PATH_PROG(TCLSH, tclsh8.0)
 	if test -z "$TCLSH"
 	then
 		AC_PATH_PROG(TCLSH, tcl)
@@ -834,9 +834,9 @@
 	# library_dirs are set in the check for TCL
 	for dir in $library_dirs
 	do
-		if test -d "$dir" -a -r "$dir/tkConfig.sh"
+		if test -d "$dir" -a -r "$dir/../tk8.0/tkConfig.sh"
 		then
-			TK_CONFIG_SH=$dir/tkConfig.sh
+			TK_CONFIG_SH=$dir/../tk8.0/tkConfig.sh
 			break
 		fi
 	done
