1
2
3
4
5
6
7
8
9
10
11
|
AC_LIB_HAVE_LINKFLAGS(pam,,
[#include <security/pam_appl.h>],
[
pam_start("service", "user",
(const struct pam_conv *)NULL,
(pam_handle_t **)NULL);
])
AS_IF([test "$ac_cv_libpam" = "no"],
[AC_MSG_WARN([Couldn't find PAM headers, pam_auth will not be built])])
|