AC_INIT(configure.in)
CONFIG_RULES
AC_PROG_LEX
AC_PROG_AWK
AC_CHECK_HEADERS(syslog.h memory.h)
AC_CHECK_FUNCS(openlog syslog closelog strftime vsprintf)
KRB5_AC_REGEX_FUNCS
AC_CANONICAL_HOST
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_CHECK_FUNCS(srand48 srand srandom)
AC_KRB5_TCL	
if test "$PERL" = perl -a "$RUNTEST" = runtest -a "$TCL_LIBS" != ""; then
 	DO_TEST=ok
fi
AC_SUBST(DO_TEST) 
dnl
KRB5_BUILD_LIBOBJS
KRB5_BUILD_LIBRARY_WITH_DEPS
KRB5_BUILD_PROGRAM
dnl
V5_AC_OUTPUT_MAKEFILE(. clnt srv unit-test)
