Skip to content

Commit

Permalink
Eliminate checks of user-specified Tcl/Tk interpreter.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eygene Ryabinkin authored and Junio C Hamano committed Apr 1, 2007
1 parent 6bdb18a commit 68daee0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 68daee0

Please sign in to comment.