libraries present.
* configure.in: Check for runtest and Tcl.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9167
dc483132-0cff-0310-8789-
dd5450dbe970
+Mon Oct 14 07:04:27 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * Makefile.in: Only try to run tests if both runtest and the tcl
+ libraries present.
+
+ * configure.in: Check for runtest and Tcl.
+
Fri Oct 4 08:31:50 1996 Ezra Peisach <epeisach@kangaroo.mit.edu>
* sizes-test.c: Removed program.
# The unit-test targets
#
-check unit-test:: unit-test-client unit-test-server
+check:: check-@RUNTEST@-@DO_TCL@
+
+check-- check-runtest- check--tcl::
+ @echo "Either tcl or runtest is unavailable. Kadm5 unit tests not run"
+
+check-runtest-tcl unit-test:: unit-test-client unit-test-server
unit-test-client: unit-test-client-setup unit-test-client-body \
unit-test-client-cleanup
WITH_CCOPTS
CONFIG_RULES
KRB_INCLUDE
+AC_CHECK_PROG(RUNTEST,runtest,runtest)
+AC_KRB5_TCL
+if test "$TCL_LIB" != "" ; then
+ DO_TCL=tcl
+fi
+AC_SUBST(DO_TCL)
USE_KADMCLNT_LIBRARY
USE_GSSAPI_LIBRARY
USE_KADMSRV_LIBRARY