#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
# define SUPPORT_UNIX_SESSION		0

# if defined(DEBUG)
#  define DEBUG_NOLOGIN DEBUG
# else
#  define DEBUG_NOLOGIN
# endif

# define SUPPORT_NOLOGIN_ACCOUNT	1
# define SUPPORT_NOLOGIN_AUTH		0

# if defined(WANT_SHA512)
#  error "SHA512 support is not present for FreeBSD!"
# endif

#endif /* __FreeBSD__ */
