
module in the base system. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11249 ec53bebd-3082-4978-b11e-865c3cabbd6b
33 lines
697 B
Plaintext
33 lines
697 B
Plaintext
dnl $Id$
|
|
dnl
|
|
dnl Figure what authentication modules should be built
|
|
|
|
AC_DEFUN(AC_AUTH_MODULES,[
|
|
AC_MSG_CHECKING(which authentication modules should be built)
|
|
|
|
LIB_AUTH_SUBDIRS=
|
|
|
|
if test "$ac_cv_header_siad_h" = yes; then
|
|
LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
|
|
fi
|
|
|
|
case "${host}" in
|
|
*-*-freebsd*) ac_cv_want_pam_krb4=no ;;
|
|
*) ac_cv_want_pam_krb4=yes ;;
|
|
esac
|
|
|
|
if test "$ac_cv_want_pam_krb4" = yes -a \
|
|
"$ac_cv_header_security_pam_modules_h" = yes -a \
|
|
"$enable_shared" = yes; then
|
|
LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS pam"
|
|
fi
|
|
|
|
case "${host}" in
|
|
*-*-irix[[56]]*) LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS afskauthlib" ;;
|
|
esac
|
|
|
|
AC_MSG_RESULT($LIB_AUTH_SUBDIRS)
|
|
|
|
AC_SUBST(LIB_AUTH_SUBDIRS)dnl
|
|
])
|