auth-modules.m4 revision 55682
1dnl $Id: auth-modules.m4,v 1.1 1999/03/21 13:48:00 joda 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
19changequote(,)dnl
20*-*-irix[56]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
21changequote([,])dnl
22esac
23
24AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
25
26AC_SUBST(LIB_AUTH_SUBDIRS)dnl
27])
28