blob: 83b682dcb43ec594e1df93e917d4b63ca648181a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#if HAVE_CRACKLIB
# error "pam_cracklib is only supported with Linux-PAM"
#endif
// OpenPAM only provides basic modules, it's FreeBSD that provides the
// extended modules, so check for FreeBSD building first.
#ifdef __FreeBSD__
# define HAVE_LOGIN_ACCESS 1
# if defined(DEBUG)
# define DEBUG_NOLOGIN DEBUG
# endif
# if __FreeBSD__ < 7
# define SUPPORT_UNIX_SESSION 1
# else
# define SUPPORT_UNIX_SESSION 0
# endif
#endif
|