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 035b6f064..baad7eecf 100755
--- a/configure
+++ b/configure
@@ -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>
6616int
6617main ()
6618{
6619SessionCreate(0, 0);
6620 ;
6621 return 0;
6622}
6623_ACEOF
6624if 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; }
6632else
6633 ac_cv_use_security_session_api="no"
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635$as_echo "no" >&6; }
6636fi
6637rm -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>
6643int
6644main ()
6645{
6646cc_context_t c;
6647 (void) cc_initialize (&c, 0, NULL, NULL);
6648 ;
6649 return 0;
6650}
6651_ACEOF
6652if 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
6662else
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664$as_echo "no" >&6; }
6665
6666fi
6667rm -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"
6613if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : 6670if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then :