Eliminate checks of user-specified Tcl/Tk interpreter.
Do not make the checks on the Tcl/Tk interpreter passed by '--with-tcltk=/path/to/wish' configure option: user is free to pass anything. Signed-off-by: Eygene Ryabinkin <rea-git@codelabs.ru> Signed-off-by: Junio C Hamano <junkio@cox.net>
Eygene Ryabinkin committed
Mar 29, 2007 at 14:06 UTC
68daee085cef975c76d9eeba91a3836cf88bcc3f
1 file changed
+1
-3
configure.ac
+1
-3
@@ -102,12 +102,10 @@ if test -z "$NO_TCLTK"; then
102
elif test "$with_tcltk" = "yes"; then
103
# Tcl/Tk check requested.
104
AC_CHECK_PROGS(TCLTK_PATH, [wish], )
105
- elif test -x "$with_tcltk"; then
105
+ else
106
AC_MSG_RESULT([Using Tcl/Tk interpreter $with_tcltk])
107
TCLTK_PATH="$with_tcltk"
108
AC_SUBST(TCLTK_PATH)
109
- else
110
- AC_MSG_ERROR([Tcl/Tk interpreter was not found in $with_tcltk])
109
fi
110
fi
111