summaryrefslogtreecommitdiff
path: root/server/external
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-05-04 13:07:23 -0400
committerStephen Gallagher <sgallagh@redhat.com>2009-05-04 14:15:54 -0400
commit4a26a29404e901ceca0a42bac18084b5d3e1f210 (patch)
tree9a4eb6d2a8901c4e66a22d8cb7733d26b4706c8f /server/external
parenta3d6555e40b834a61cd5e9b1abd4a0f9f3ef6f52 (diff)
downloadsssd-4a26a29404e901ceca0a42bac18084b5d3e1f210.tar.gz
sssd-4a26a29404e901ceca0a42bac18084b5d3e1f210.tar.bz2
sssd-4a26a29404e901ceca0a42bac18084b5d3e1f210.zip
Fixes for porting SSSD to Debian-based platforms
Diffstat (limited to 'server/external')
-rw-r--r--server/external/pam.m47
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])]
+)