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 6815388cc..ea5f200e8 100755
--- a/configure
+++ b/configure
@@ -7168,6 +7168,63 @@ $as_echo "#define SSH_TUN_COMPAT_AF 1" >>confdefs.h
7168 7168
7169$as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h 7169$as_echo "#define SSH_TUN_PREPEND_AF 1" >>confdefs.h
7170 7170
7171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have the Security Authorization Session API" >&5
7172$as_echo_n "checking if we have the Security Authorization Session API... " >&6; }
7173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7174/* end confdefs.h. */
7175#include <Security/AuthSession.h>
7176int
7177main ()
7178{
7179SessionCreate(0, 0);
7180 ;
7181 return 0;
7182}
7183_ACEOF
7184if ac_fn_c_try_compile "$LINENO"; then :
7185 ac_cv_use_security_session_api="yes"
7186
7187$as_echo "#define USE_SECURITY_SESSION_API 1" >>confdefs.h
7188
7189 LIBS="$LIBS -framework Security"
7190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7191$as_echo "yes" >&6; }
7192else
7193 ac_cv_use_security_session_api="no"
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7195$as_echo "no" >&6; }
7196fi
7197rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we have an in-memory credentials cache" >&5
7199$as_echo_n "checking if we have an in-memory credentials cache... " >&6; }
7200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7201/* end confdefs.h. */
7202#include <Kerberos/Kerberos.h>
7203int
7204main ()
7205{
7206cc_context_t c;
7207 (void) cc_initialize (&c, 0, NULL, NULL);
7208 ;
7209 return 0;
7210}
7211_ACEOF
7212if ac_fn_c_try_compile "$LINENO"; then :
7213
7214$as_echo "#define USE_CCAPI 1" >>confdefs.h
7215
7216 LIBS="$LIBS -framework Security"
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7218$as_echo "yes" >&6; }
7219 if test "x$ac_cv_use_security_session_api" = "xno"; then
7220 as_fn_error $? "*** Need a security framework to use the credentials cache API ***" "$LINENO" 5
7221 fi
7222else
7223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7224$as_echo "no" >&6; }
7225
7226fi
7227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7171 7228
7172 ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default" 7229 ac_fn_c_check_decl "$LINENO" "AU_IPv4" "ac_cv_have_decl_AU_IPv4" "$ac_includes_default"
7173if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : 7230if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then :