From 4b142b06404e0536e98009d310d79d3b67b4bf90 Mon Sep 17 00:00:00 2001 From: Pawel Krawczyk Date: Wed, 26 Nov 2014 23:19:45 +0000 Subject: check for PAM devel libraries --- configure.ac | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3