diff --git a/src/configure.in b/src/configure.in
index b4f2d75427962fd125558559d1335da779088642..b35b680ee5c56495f7f57ff6ffba678b6be170ab 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1120,7 +1120,7 @@ then
 	else
 		AC_MSG_RESULT($TK_CONFIG_SH)
 		AC_SUBST(TK_CONFIG_SH)
-		AC_PATH_PROG(wish, wish)
+		AC_PATH_PROG(WISH, wish)
 	fi
 fi