3 dnl Figure what authentication modules should be built
5 dnl rk_AUTH_MODULES(module-list)
7 AC_DEFUN([rk_AUTH_MODULES],[
8 AC_MSG_CHECKING([which authentication modules should be built])
10 z='m4_ifval([$1], $1, [sia pam afskauthlib])'
15 if test "$ac_cv_header_siad_h" = yes; then
16 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
21 *-*-freebsd*) ac_cv_want_pam_krb4=no ;;
22 *) ac_cv_want_pam_krb4=yes ;;
25 if test "$ac_cv_want_pam_krb4" = yes -a \
26 "$ac_cv_header_security_pam_modules_h" = yes -a \
27 "$enable_shared" = yes; then
28 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
33 *-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
38 if test "$LIB_AUTH_SUBDIRS"; then
39 AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
44 AC_SUBST(LIB_AUTH_SUBDIRS)dnl