From 1cc3dbef9f1d84a9f1c77ae8ee3c93112a2f7057 Mon Sep 17 00:00:00 2001 From: Nalin Dahyabhai Date: Thu, 29 Apr 2010 17:08:05 -0400 Subject: - blow up if we can't find PAM headers --- configure.ac | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.ac b/configure.ac index 036030b..1896c66 100644 --- a/configure.ac +++ b/configure.ac @@ -7,6 +7,12 @@ fi LT_INIT(disable-static) AM_MAINTAINER_MODE AC_CHECK_HEADERS(security/pam_modules.h security/pam_appl.h) +if test x$ac_cv_header_security_pam_modules_h != xyes ; then + AC_ERROR(security/pam_modules.h not found) +fi +if test x$ac_cv_header_security_pam_appl_h != xyes ; then + AC_ERROR(security/pam_appl.h not found) +fi AC_CHECK_FUNC(pam_get_item,,AC_CHECK_LIB(pam,pam_get_item)) AC_CONFIG_HEADER(src/config.h) AC_OUTPUT(Makefile src/Makefile src/pam_rps.8) -- cgit