summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawel Krawczyk <pawel.krawczyk@hush.com>2014-11-26 23:19:45 +0000
committerPawel Krawczyk <pawel.krawczyk@hush.com>2014-11-26 23:19:45 +0000
commit4b142b06404e0536e98009d310d79d3b67b4bf90 (patch)
treef71f2d0a2e42edd865f2a2c7403a19e8fa825e97
parent3c9f2da3df4d32f06e580fd77f4bc3cd06342153 (diff)
downloadpam_tacplus-4b142b06404e0536e98009d310d79d3b67b4bf90.tar.gz
pam_tacplus-4b142b06404e0536e98009d310d79d3b67b4bf90.zip
check for PAM devel libraries
-rw-r--r--configure.ac1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 8f82e3d..9314f8e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -44,6 +44,7 @@ dnl --------------------------------------------------------------------
dnl Checks for header files.
AC_HEADER_STDC
AC_CHECK_HEADERS([arpa/inet.h fcntl.h netdb.h netinet/in.h stdlib.h string.h strings.h sys/socket.h sys/time.h syslog.h unistd.h])
+AC_CHECK_HEADER(security/pam_appl.h, [], [AC_MSG_ERROR([PAM libraries missing. Install with "yum install pam-devel" or "apt-get install libpam-dev".])] )
dnl --------------------------------------------------------------------
dnl Checks for typedefs, structures, and compiler characteristics.