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