summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure57
1 files changed, 57 insertions, 0 deletions
diff --git a/configure b/configure
index c36bb1907..c4d1ed0d2 100755
--- a/configure
+++ b/configure
@@ -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>
6596int
6597main ()
6598{
6599SessionCreate(0, 0);
6600 ;
6601 return 0;
6602}
6603_ACEOF
6604if 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; }
6612else
6613 ac_cv_use_security_session_api="no"
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6615$as_echo "no" >&6; }
6616fi
6617rm -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>
6623int
6624main ()
6625{
6626cc_context_t c;
6627 (void) cc_initialize (&c, 0, NULL, NULL);
6628 ;
6629 return 0;
6630}
6631_ACEOF
6632if 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
6642else
6643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6644$as_echo "no" >&6; }
6645
6646fi
6647rm -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"
6593if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : 6650if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then :