1 dnl $Heimdal: auth-modules.m4 13338 2004-02-12 14:21:14Z lha $
4 dnl Figure what authentication modules should be built
6 dnl rk_AUTH_MODULES(module-list)
8 AC_DEFUN([rk_AUTH_MODULES],[
9 AC_MSG_CHECKING([which authentication modules should be built])
11 z='m4_ifval([$1], $1, [sia pam afskauthlib])'
16 if test "$ac_cv_header_siad_h" = yes; then
17 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
22 *-*-freebsd*) ac_cv_want_pam_krb4=no ;;
23 *) ac_cv_want_pam_krb4=yes ;;
26 if test "$ac_cv_want_pam_krb4" = yes -a \
27 "$ac_cv_header_security_pam_modules_h" = yes -a \
28 "$enable_shared" = yes; then
29 LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
34 *-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
39 if test "$LIB_AUTH_SUBDIRS"; then
40 AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
45 AC_SUBST(LIB_AUTH_SUBDIRS)dnl