auth-modules.m4 revision 55682
1239472Semastednl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda Exp $
2239472Semastednl
3227652Sgrehandnl Figure what authentication modules should be built
4239472Semaste
5239472SemasteAC_DEFUN(AC_AUTH_MODULES,[
6239472SemasteAC_MSG_CHECKING(which authentication modules should be built)
7239472Semaste
8239472SemasteLIB_AUTH_SUBDIRS=
9239472Semaste
10239472Semasteif test "$ac_cv_header_siad_h" = yes; then
11239472Semaste	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
12239472Semastefi
13239472Semaste
14239472Semasteif test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_shared" = yes; then
15239472Semaste	LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
16239472Semastefi
17239472Semaste
18239472Semastecase "${host}" in
19239472Semastechangequote(,)dnl
20239472Semaste*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
21239472Semastechangequote([,])dnl
22239472Semasteesac
23239472Semaste
24239472SemasteAC_MSG_RESULT($LIB_AUTH_SUBDIRS)
25239472Semaste
26239472SemasteAC_SUBST(LIB_AUTH_SUBDIRS)dnl
27239472Semaste])
28239472Semaste