AC_INIT(auth.c) CONFIG_RULES AC_PROG_ARCHIVE AC_PROG_ARCHIVE_ADD AC_PROG_RANLIB AC_REPLACE_FUNCS([strcasecmp strdup setenv setsid strerror strftime getopt herror]) AC_FUNC_CHECK(cgetent,AC_DEFINE(HAS_CGETENT)) AC_CHECK_HEADERS(stdlib.h string.h) LIBOBJS="$LIBOBJS getent.o" AC_CONST if test "$KRB4_LIB" = ''; then AC_MSG_RESULT(No Kerberos 4 authentication) else AC_MSG_RESULT(Kerberos 4 authentication enabled) AC_DEFINE(KRB4) fi V5_AC_OUTPUT_MAKEFILE