From 68daee085cef975c76d9eeba91a3836cf88bcc3f Mon Sep 17 00:00:00 2001 From: Eygene Ryabinkin Date: Thu, 29 Mar 2007 14:06:48 +0400 Subject: [PATCH] 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 Signed-off-by: Junio C Hamano --- configure.ac | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 01fa0f0bd..50d2b85ac 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.30.2