Commit 0896db9c authored by Alberts Muktupāvels's avatar Alberts Muktupāvels
Browse files

build: error out if PAM is not found

#40
parent e2941334
Pipeline #161836 passed with stages
in 14 minutes and 1 second
......@@ -364,8 +364,13 @@ dnl **************************************************************************
dnl PAM
dnl **************************************************************************
AC_CHECK_HEADERS([security/pam_appl.h])
AC_SEARCH_LIBS([pam_start], [pam])
AC_CHECK_HEADERS([security/pam_appl.h], [], [
AC_MSG_ERROR([PAM development files not found])
])
AC_SEARCH_LIBS([pam_start], [pam], [], [
AC_MSG_ERROR([PAM library not found])
])
dnl **************************************************************************
dnl Process .in files
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment