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>maint
parent
6bdb18a9ce
commit
68daee085c
|
@ -102,12 +102,10 @@ if test -z "$NO_TCLTK"; then
|
|||
elif test "$with_tcltk" = "yes"; then
|
||||
# Tcl/Tk check requested.
|
||||
AC_CHECK_PROGS(TCLTK_PATH, [wish], )
|
||||
elif test -x "$with_tcltk"; then
|
||||
else
|
||||
AC_MSG_RESULT([Using Tcl/Tk interpreter $with_tcltk])
|
||||
TCLTK_PATH="$with_tcltk"
|
||||
AC_SUBST(TCLTK_PATH)
|
||||
else
|
||||
AC_MSG_ERROR([Tcl/Tk interpreter was not found in $with_tcltk])
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in New Issue