Makefile: allow generating git.o for debugging purposes
[gitweb.git] / 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