~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/auth_pam/plugin.ac

  • Committer: Monty Taylor
  • Date: 2008-08-02 00:06:32 UTC
  • mto: (236.1.42 codestyle)
  • mto: This revision was merged to the branch mainline in revision 261.
  • Revision ID: monty@inaugust.com-20080802000632-jsse0zdd9r6ic5ku
Actually turn gettext on...

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
AC_LIB_HAVE_LINKFLAGS(pam,,
2
 
  [
3
 
#include <stdlib.h>
4
 
#include <security/pam_appl.h>
5
 
#if !defined(__sun) && !defined(__FreeBSD__)
6
 
#include <security/pam_misc.h>
7
 
#endif
8
 
  ],
9
 
  [
10
 
    pam_start("service", "user",
11
 
              (const struct pam_conv *)NULL,
12
 
              (pam_handle_t **)NULL);
13
 
  ])
14
 
 
15
 
AS_IF([test "$ac_cv_libpam" = "no"],
16
 
 [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.])])
17