--- a/configure
+++ b/configure
@@ -2197,7 +2197,7 @@
 fi
 
 
-if test -n "$kconfig"; then
+if test -n "$tkconfig"; then
     tkConfigSH="$tkconfig/tkConfig.sh"
 else