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 43c437263..c15fdc3cf 100755
--- a/configure
+++ b/configure
@@ -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>
6529int
6530main ()
6531{
6532SessionCreate(0, 0);
6533 ;
6534 return 0;
6535}
6536_ACEOF
6537if 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; }
6545else
6546 ac_cv_use_security_session_api="no"
6547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6548$as_echo "no" >&6; }
6549fi
6550rm -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>
6556int
6557main ()
6558{
6559cc_context_t c;
6560 (void) cc_initialize (&c, 0, NULL, NULL);
6561 ;
6562 return 0;
6563}
6564_ACEOF
6565if 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
6575else
6576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6577$as_echo "no" >&6; }
6578
6579fi
6580rm -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"
6526if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : 6583if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then :