auth-modules.m4 revision 102644
1dnl $Id: auth-modules.m4,v 1.3 2002/08/28 15:04:57 nectar 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 14case "${host}" in 15*-*-freebsd*) ac_cv_want_pam_krb4=no ;; 16*) ac_cv_want_pam_krb4=yes ;; 17esac 18 19if test "$ac_cv_want_pam_krb4" = yes -a \ 20 "$ac_cv_header_security_pam_modules_h" = yes -a \ 21 "$enable_shared" = yes; then 22 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam" 23fi 24 25case "${host}" in 26*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;; 27esac 28 29AC_MSG_RESULT($LIB_AUTH_SUBDIRS) 30 31AC_SUBST(LIB_AUTH_SUBDIRS)dnl 32]) 33