comparison options.h @ 1157:14854ea32d2c

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.
author Mike Frysinger <vapier@gentoo.org>
date Wed, 21 Oct 2015 22:40:11 +0800
parents 36557295418e
children ef67b57fe438
comparison
equal deleted inserted replaced
1156:a8f4dade70e5 1157:14854ea32d2c
204 * It's useful for systems like OS X where standard password crypts don't work 204 * It's useful for systems like OS X where standard password crypts don't work
205 * but there's an interface via a PAM module. It won't work for more complex 205 * but there's an interface via a PAM module. It won't work for more complex
206 * PAM challenge/response. 206 * PAM challenge/response.
207 * You can't enable both PASSWORD and PAM. */ 207 * You can't enable both PASSWORD and PAM. */
208 208
209 /* This requires crypt.h & crypt. */
210 #ifdef HAVE_CRYPT_H
209 #define ENABLE_SVR_PASSWORD_AUTH 211 #define ENABLE_SVR_PASSWORD_AUTH
212 #endif
210 /* PAM requires ./configure --enable-pam */ 213 /* PAM requires ./configure --enable-pam */
211 /*#define ENABLE_SVR_PAM_AUTH */ 214 /*#define ENABLE_SVR_PAM_AUTH */
212 #define ENABLE_SVR_PUBKEY_AUTH 215 #define ENABLE_SVR_PUBKEY_AUTH
213 216
214 /* Whether to take public key options in 217 /* Whether to take public key options in