diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -6780,6 +6780,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h | |||
6780 | 6780 | ||
6781 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h | 6781 | $as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h |
6782 | 6782 | ||
6783 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5 | ||
6784 | $as_echo_n "checking if we have the Security Authorization Session API... " >&6; } | ||
6785 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6786 | /* end confdefs.h. */ | ||
6787 | #include <Security/AuthSession.h> | ||
6788 | int | ||
6789 | main () | ||
6790 | { | ||
6791 | SessionCreate(0, 0); | ||
6792 | ; | ||
6793 | return 0; | ||
6794 | } | ||
6795 | _ACEOF | ||
6796 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6797 | ac_cv_use_security_session_api="yes" | ||
6798 | |||
6799 | $as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h | ||
6800 | |||
6801 | LIBS="$LIBS -framework Security" | ||
6802 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6803 | $as_echo "yes" >&6; } | ||
6804 | else | ||
6805 | ac_cv_use_security_session_api="no" | ||
6806 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6807 | $as_echo "no" >&6; } | ||
6808 | fi | ||
6809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6810 | { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5 | ||
6811 | $as_echo_n "checking if we have an in-memory credentials cache... " >&6; } | ||
6812 | cat confdefs.h - <<_ACEOF >conftest.$ac_ext | ||
6813 | /* end confdefs.h. */ | ||
6814 | #include <Kerberos/Kerberos.h> | ||
6815 | int | ||
6816 | main () | ||
6817 | { | ||
6818 | cc_context_t c; | ||
6819 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
6820 | ; | ||
6821 | return 0; | ||
6822 | } | ||
6823 | _ACEOF | ||
6824 | if ac_fn_c_try_compile "$LINENO"; then : | ||
6825 | |||
6826 | $as_echo "#define USE_CCAPI 1" >>confdefs.h | ||
6827 | |||
6828 | LIBS="$LIBS -framework Security" | ||
6829 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5 | ||
6830 | $as_echo "yes" >&6; } | ||
6831 | if test "x$ac_cv_use_security_session_api" = "xno"; then | ||
6832 | as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5 | ||
6833 | fi | ||
6834 | else | ||
6835 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
6836 | $as_echo "no" >&6; } | ||
6837 | |||
6838 | fi | ||
6839 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext | ||
6783 | 6840 | ||
6784 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" | 6841 | ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" |
6785 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 6842 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |