Code

Eliminate checks of user-specified Tcl/Tk interpreter.
authorEygene Ryabinkin <rea-git@codelabs.ru>
Thu, 29 Mar 2007 10:06:48 +0000 (14:06 +0400)
committerJunio C Hamano <junkio@cox.net>
Sun, 1 Apr 2007 06:59:47 +0000 (23:59 -0700)
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>
configure.ac

index 01fa0f0bdaf7a1094a327bde230d3dad5c762a62..50d2b85ace7d79ba1b8c576b54c6ef1f22ddf91f 100644 (file)
@@ -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