diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -6608,6 +6608,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | |||
6608 | 6608 | ||
6609 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 6609 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
6610 | 6610 | ||
6611 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5 | ||
6612 | $as_echo_n "checking if we have the Security Authorization Session API... " >&6; } | ||
6613 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6614 | /* end confdefs.h. */ | ||
6615 | #include <Security/AuthSession.h> | ||
6616 | int | ||
6617 | main () | ||
6618 | { | ||
6619 | SessionCreate(0, 0); | ||
6620 | ; | ||
6621 | return 0; | ||
6622 | } | ||
6623 | _ACEOF | ||
6624 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6625 | ac_cv_use_security_session_api="yes" | ||
6626 | |||
6627 | $as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h | ||
6628 | |||
6629 | LIBS="$LIBS -framework Security" | ||
6630 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6631 | $as_echo "yes" >&6; } | ||
6632 | else | ||
6633 | ac_cv_use_security_session_api="no" | ||
6634 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6635 | $as_echo "no" >&6; } | ||
6636 | fi | ||
6637 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6638 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5 | ||
6639 | $as_echo_n "checking if we have an in-memory credentials cache... " >&6; } | ||
6640 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6641 | /* end confdefs.h. */ | ||
6642 | #include <Kerberos/Kerberos.h> | ||
6643 | int | ||
6644 | main () | ||
6645 | { | ||
6646 | cc_context_t c; | ||
6647 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
6648 | ; | ||
6649 | return 0; | ||
6650 | } | ||
6651 | _ACEOF | ||
6652 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6653 | |||
6654 | $as_echo "#define USE_CCAPI 1" >>confdefs.h | ||
6655 | |||
6656 | LIBS="$LIBS -framework Security" | ||
6657 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6658 | $as_echo "yes" >&6; } | ||
6659 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
6660 | as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5 | ||
6661 | fi | ||
6662 | else | ||
6663 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6664 | $as_echo "no" >&6; } | ||
6665 | |||
6666 | fi | ||
6667 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6611 | 6668 | ||
6612 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 6669 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
6613 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 6670 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |