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