diff options
author | Mike Frysinger <vapier@gentoo.org> | 2015-10-21 22:40:11 +0800 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2015-10-21 22:40:11 +0800 |
commit | 78b9cecb525d2e1449d269671b2c584fe904f738 (patch) | |
tree | e1c1c684ae41afa70e6cfbb68a6688a7862032b4 /options.h | |
parent | 93c54fe6f61fc7f593b0218739851a8f4345bfdf (diff) |
fix default build when crypt() is unavailable
if the system doesn't support crypt.h/crypt, then ENABLE_SVR_PASSWORD_AUTH
cannot work. rather than default this to on all the time, do so only when
support for the header is found.
Diffstat (limited to 'options.h')
-rw-r--r-- | options.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -206,7 +206,10 @@ If you test it please contact the Dropbear author */ * PAM challenge/response. * You can't enable both PASSWORD and PAM. */ +/* This requires crypt.h & crypt. */ +#ifdef HAVE_CRYPT_H #define ENABLE_SVR_PASSWORD_AUTH +#endif /* PAM requires ./configure --enable-pam */ /*#define ENABLE_SVR_PAM_AUTH */ #define ENABLE_SVR_PUBKEY_AUTH |