blob: cde37a0679b6baeb8ffc7851c3d055f86d35958c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
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
|