From 2b20e5e61afa3e5bb1d196759c3b5da08f999a3e Mon Sep 17 00:00:00 2001 From: Russ Allbery Date: Wed, 2 Aug 2006 18:42:54 +0000 Subject: [PATCH] no-pam-for-irix-20060802 Don't try to build PAM on IRIX; IRIX PAM is almost but not entirely unlike what we expect. --- acinclude.m4 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index 32981408a..6431be984 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -1021,8 +1021,16 @@ AC_CHECK_HEADERS(sys/mount.h strings.h termios.h signal.h) AC_CHECK_HEADERS(windows.h malloc.h winsock2.h direct.h io.h sys/user.h) AC_CHECK_HEADERS(security/pam_modules.h siad.h usersec.h ucontext.h regex.h values.h) +dnl Don't build PAM on IRIX; the interface doesn't work for us. if test "$ac_cv_header_security_pam_modules_h" = yes -a "$enable_pam" = yes; then - HAVE_PAM="yes" + case $AFS_SYSNAME in + sgi_*) + HAVE_PAM="no" + ;; + *) + HAVE_PAM="yes" + ;; + esac else HAVE_PAM="no" fi -- 2.39.5