-Fri Oct 25 16:43:52 1996 Ezra Peisach <epeisach@trane.rose.brandeis.edu>
+Thu Oct 31 08:42:18 1996 Ezra Peisach <epeisach@mit.edu>
+
+ * Makefile.in (check): Only run tests is Perl, tcl, runtest.
+
+ * configure.in: Check for Perl before running tests.
+
+Fri Oct 25 16:43:52 1996 Ezra Peisach <epeisach@mit.edu>
* Makefile.in (init-test): Add -UUSE_KADM5_API_VERSION before the
-D of same.
# The unit-test targets
#
-check:: check-@RUNTEST@-@DO_TCL@
+check:: check-@DO_TEST@
-check-- check-runtest- check--tcl::
- @echo "Either tcl or runtest is unavailable. Kadm5 unit tests not run"
+check-::
+ @echo "Either tcl, runtest, or Perl is unavailable. Kadm5 unit tests not run"
-check-runtest-tcl unit-test:: unit-test-client unit-test-server
+check-ok 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
+dnl The following are tests for the presence of programs required for testing
AC_CHECK_PROG(RUNTEST,runtest,runtest)
+AC_CHECK_PROG(PERL,perl,perl)
AC_KRB5_TCL
-if test "$TCL_LIB" != "" ; then
- DO_TCL=tcl
+if test "$PERL" = perl -a "$RUNTEST" = runtest -a "$TCL_LIB" != ""; then
+ DO_TEST=ok
fi
-AC_SUBST(DO_TCL)
+AC_SUBST(DO_TEST)
+dnl
USE_KADMCLNT_LIBRARY
USE_GSSAPI_LIBRARY
USE_KADMSRV_LIBRARY