diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -7170,6 +7170,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | |||
7170 | 7170 | ||
7171 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 7171 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
7172 | 7172 | ||
7173 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5 | ||
7174 | $as_echo_n "checking if we have the Security Authorization Session API... " >&6; } | ||
7175 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
7176 | /* end confdefs.h. */ | ||
7177 | #include <Security/AuthSession.h> | ||
7178 | int | ||
7179 | main () | ||
7180 | { | ||
7181 | SessionCreate(0, 0); | ||
7182 | ; | ||
7183 | return 0; | ||
7184 | } | ||
7185 | _ACEOF | ||
7186 | if ac_fn_c_try_compile "$LINENO"; then : | ||
7187 | ac_cv_use_security_session_api="yes" | ||
7188 | |||
7189 | $as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h | ||
7190 | |||
7191 | LIBS="$LIBS -framework Security" | ||
7192 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
7193 | $as_echo "yes" >&6; } | ||
7194 | else | ||
7195 | ac_cv_use_security_session_api="no" | ||
7196 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
7197 | $as_echo "no" >&6; } | ||
7198 | fi | ||
7199 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7200 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5 | ||
7201 | $as_echo_n "checking if we have an in-memory credentials cache... " >&6; } | ||
7202 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
7203 | /* end confdefs.h. */ | ||
7204 | #include <Kerberos/Kerberos.h> | ||
7205 | int | ||
7206 | main () | ||
7207 | { | ||
7208 | cc_context_t c; | ||
7209 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
7210 | ; | ||
7211 | return 0; | ||
7212 | } | ||
7213 | _ACEOF | ||
7214 | if ac_fn_c_try_compile "$LINENO"; then : | ||
7215 | |||
7216 | $as_echo "#define USE_CCAPI 1" >>confdefs.h | ||
7217 | |||
7218 | LIBS="$LIBS -framework Security" | ||
7219 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
7220 | $as_echo "yes" >&6; } | ||
7221 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
7222 | as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5 | ||
7223 | fi | ||
7224 | else | ||
7225 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
7226 | $as_echo "no" >&6; } | ||
7227 | |||
7228 | fi | ||
7229 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
7173 | 7230 | ||
7174 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 7231 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
7175 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 7232 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |