~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
AC_LIB_HAVE_LINKFLAGS(pam,,
  [
#include <stdlib.h>
#include <security/pam_appl.h>
#if !defined(__sun) && !defined(__FreeBSD__)
#include <security/pam_misc.h>
#endif
  ],
  [
    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 development support, pam_auth will not be built. On Debian, libpam is in libpam0g-dev. On RedHat it's in pam-devel.])])