Merge pull request #1 from encrypt94/master

add checks for libcap and PAM headers
This commit is contained in:
Davide Berardi 2016-06-27 20:55:00 +02:00 committed by GitHub
commit 6aaa8cee2f
1 changed files with 6 additions and 0 deletions

View File

@ -16,6 +16,12 @@ AC_PROG_INSTALL
# Checks for header files.
AC_CHECK_HEADERS([fcntl.h stdint.h stdlib.h string.h unistd.h])
AC_CHECK_HEADERS([sys/capability.h],
[],
[AC_MSG_ERROR([missing libcap header])])
AC_CHECK_HEADERS([security/pam_appl.h security/pam_misc.h],
[],
[AC_MSG_ERROR([missing PAM headers])])
# Checks for typedefs, structures, and compiler characteristics.
AC_TYPE_UID_T