diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -6521,6 +6521,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | |||
6521 | 6521 | ||
6522 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 6522 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
6523 | 6523 | ||
6524 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5 | ||
6525 | $as_echo_n "checking if we have the Security Authorization Session API... " >&6; } | ||
6526 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6527 | /* end confdefs.h. */ | ||
6528 | #include <Security/AuthSession.h> | ||
6529 | int | ||
6530 | main () | ||
6531 | { | ||
6532 | SessionCreate(0, 0); | ||
6533 | ; | ||
6534 | return 0; | ||
6535 | } | ||
6536 | _ACEOF | ||
6537 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6538 | ac_cv_use_security_session_api="yes" | ||
6539 | |||
6540 | $as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h | ||
6541 | |||
6542 | LIBS="$LIBS -framework Security" | ||
6543 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6544 | $as_echo "yes" >&6; } | ||
6545 | else | ||
6546 | ac_cv_use_security_session_api="no" | ||
6547 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6548 | $as_echo "no" >&6; } | ||
6549 | fi | ||
6550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6551 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5 | ||
6552 | $as_echo_n "checking if we have an in-memory credentials cache... " >&6; } | ||
6553 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6554 | /* end confdefs.h. */ | ||
6555 | #include <Kerberos/Kerberos.h> | ||
6556 | int | ||
6557 | main () | ||
6558 | { | ||
6559 | cc_context_t c; | ||
6560 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
6561 | ; | ||
6562 | return 0; | ||
6563 | } | ||
6564 | _ACEOF | ||
6565 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6566 | |||
6567 | $as_echo "#define USE_CCAPI 1" >>confdefs.h | ||
6568 | |||
6569 | LIBS="$LIBS -framework Security" | ||
6570 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6571 | $as_echo "yes" >&6; } | ||
6572 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
6573 | as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5 | ||
6574 | fi | ||
6575 | else | ||
6576 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6577 | $as_echo "no" >&6; } | ||
6578 | |||
6579 | fi | ||
6580 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6524 | 6581 | ||
6525 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 6582 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
6526 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 6583 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |