add checks for libcap and PAM headers

This commit is contained in:
encrypt 2016-06-27 12:31:44 +02:00
parent 06152520a0
commit 82c4601637
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