diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -6588,6 +6588,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | |||
6588 | 6588 | ||
6589 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 6589 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
6590 | 6590 | ||
6591 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5 | ||
6592 | $as_echo_n "checking if we have the Security Authorization Session API... " >&6; } | ||
6593 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6594 | /* end confdefs.h. */ | ||
6595 | #include <Security/AuthSession.h> | ||
6596 | int | ||
6597 | main () | ||
6598 | { | ||
6599 | SessionCreate(0, 0); | ||
6600 | ; | ||
6601 | return 0; | ||
6602 | } | ||
6603 | _ACEOF | ||
6604 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6605 | ac_cv_use_security_session_api="yes" | ||
6606 | |||
6607 | $as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h | ||
6608 | |||
6609 | LIBS="$LIBS -framework Security" | ||
6610 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6611 | $as_echo "yes" >&6; } | ||
6612 | else | ||
6613 | ac_cv_use_security_session_api="no" | ||
6614 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6615 | $as_echo "no" >&6; } | ||
6616 | fi | ||
6617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6618 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5 | ||
6619 | $as_echo_n "checking if we have an in-memory credentials cache... " >&6; } | ||
6620 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6621 | /* end confdefs.h. */ | ||
6622 | #include <Kerberos/Kerberos.h> | ||
6623 | int | ||
6624 | main () | ||
6625 | { | ||
6626 | cc_context_t c; | ||
6627 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
6628 | ; | ||
6629 | return 0; | ||
6630 | } | ||
6631 | _ACEOF | ||
6632 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6633 | |||
6634 | $as_echo "#define USE_CCAPI 1" >>confdefs.h | ||
6635 | |||
6636 | LIBS="$LIBS -framework Security" | ||
6637 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6638 | $as_echo "yes" >&6; } | ||
6639 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
6640 | as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5 | ||
6641 | fi | ||
6642 | else | ||
6643 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6644 | $as_echo "no" >&6; } | ||
6645 | |||
6646 | fi | ||
6647 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6591 | 6648 | ||
6592 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 6649 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
6593 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 6650 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |