Do not build pam_krb4 on FreeBSD. FreeBSD ships with a pam_kerberosIV

module in the base system.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11249 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Jacques A. Vidrine
2002-08-28 15:04:57 +00:00
parent 61e743ecc8
commit 25d03c89e9

View File

@@ -11,7 +11,14 @@ if test "$ac_cv_header_siad_h" = yes; then
LIB_AUTH_SUBDIRS="$LIB_AUTH_SUBDIRS sia"
fi
if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_shared" = yes; then
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