Initial import from FreeBSD RELENG_4:
[dragonfly.git] / crypto / kerberosIV / cf / auth-modules.m4
1 dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
2 dnl
3 dnl Figure what authentication modules should be built
4
5 AC_DEFUN(AC_AUTH_MODULES,[
6 AC_MSG_CHECKING(which authentication modules should be built)
7
8 LIB_AUTH_SUBDIRS=
9
10 if test "$ac_cv_header_siad_h" = yes; then
11         LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
12 fi
13
14 if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_shared" = yes; then
15         LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
16 fi
17
18 case "${host}" in
19 changequote(,)dnl
20 *-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
21 changequote([,])dnl
22 esac
23
24 AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
25
26 AC_SUBST(LIB_AUTH_SUBDIRS)dnl
27 ])