997.2.5
by Monty Taylor
Merged up with trunk properly. |
1 |
AC_LIB_HAVE_LINKFLAGS(pam,, |
1022.2.5
by Monty Taylor
Add a header to the auth_pam check. |
2 |
[
|
1022.2.8
by Monty Taylor
auth_pam plugin check needs stdlib to compile. |
3 |
#include <stdlib.h>
|
1022.2.5
by Monty Taylor
Add a header to the auth_pam check. |
4 |
#include <security/pam_appl.h>
|
1022.2.7
by Monty Taylor
Blind stab in the dark... |
5 |
#if !defined(__sun) && !defined(__FreeBSD__)
|
1022.2.5
by Monty Taylor
Add a header to the auth_pam check. |
6 |
#include <security/pam_misc.h>
|
1022.2.6
by Monty Taylor
Updated the plugin.ac to not break sun. |
7 |
#endif
|
1022.2.5
by Monty Taylor
Add a header to the auth_pam check. |
8 |
],
|
997.2.5
by Monty Taylor
Merged up with trunk properly. |
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"], |
|
997.2.11
by Monty Taylor
Made better warning messages. |
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.])]) |
997.2.5
by Monty Taylor
Merged up with trunk properly. |
17 |