auth-modules.m4 revision 90926
1dnl $Id: auth-modules.m4,v 1.2 2001/09/01 11:56:05 assar Exp $
2dnl
3dnl Figure what authentication modules should be built
4
5AC_DEFUN(AC_AUTH_MODULES,[
6AC_MSG_CHECKING(which authentication modules should be built)
7
8LIB_AUTH_SUBDIRS=
9
10if test "$ac_cv_header_siad_h" = yes; then
11	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
12fi
13
14if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_shared" = yes; then
15	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
16fi
17
18case "${host}" in
19*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
20esac
21
22AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
23
24AC_SUBST(LIB_AUTH_SUBDIRS)dnl
25])
26