diff options
author | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-04-29 17:08:05 -0400 |
---|---|---|
committer | Nalin Dahyabhai <nalin@dahyabhai.net> | 2010-04-29 17:08:05 -0400 |
commit | 1cc3dbef9f1d84a9f1c77ae8ee3c93112a2f7057 (patch) | |
tree | c9bc8964cbcf0597693efffaa74aba4a265d10e3 /configure.ac | |
parent | 0f58c9120558a4be29002bbf10aae02e024b38b2 (diff) | |
download | pam_rps-1cc3dbef9f1d84a9f1c77ae8ee3c93112a2f7057.tar.gz pam_rps-1cc3dbef9f1d84a9f1c77ae8ee3c93112a2f7057.tar.xz pam_rps-1cc3dbef9f1d84a9f1c77ae8ee3c93112a2f7057.zip |
- blow up if we can't find PAM headers
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 6 insertions, 0 deletions
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) |