Makefile.in: Only run runtest if present on system. If not, echo message
to user.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5528
dc483132-0cff-0310-8789-
dd5450dbe970
-RUNTEST = runtest
+RUNTEST = @RUNTEST@
RUNTESTFLAGS =
-check::
+all install::
+
+check:: check-$(RUNTEST)
+
+check-::
+ @echo "Dejagnu is not installed on this system. No tests run."
+
+check-runtest::
$(RUNTEST) --tool krb --srcdir $(srcdir) $(RUNTESTFLAGS)
AC_SUBST(BUILDTOP)
BUILDTOP=[$]ac_reltopdir
AC_PROG_INSTALL
+AC_CHECK_PROG(RUNTEST,runtest,runtest)
WITH_NETLIB
KRB_INCLUDE
WITH_KRB5ROOT