diff options
Diffstat (limited to 'server/external/pam.m4')
-rw-r--r-- | server/external/pam.m4 | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/external/pam.m4 b/server/external/pam.m4 index f99a2e69..40c8fd0d 100644 --- a/server/external/pam.m4 +++ b/server/external/pam.m4 @@ -1,5 +1,6 @@ AC_SUBST(PAM_LIBS) -AC_CHECK_HEADERS(security/pam_appl.h security/pam_misc.h security/pam_modules.h) - -AC_CHECK_LIB(pam, pam_get_item, [ PAM_LIBS="-lpam" ]) +AC_CHECK_HEADERS([security/pam_appl.h security/pam_misc.h security/pam_modules.h], + [AC_CHECK_LIB(pam, pam_get_item, [ PAM_LIBS="-lpam" ], [AC_MSG_ERROR([PAM must support pam_get_item])])], + [AC_MSG_ERROR([PAM development libraries not installed])] +) |