diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 57 |
1 files changed, 57 insertions, 0 deletions
@@ -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> | ||
7176 | int | ||
7177 | main () | ||
7178 | { | ||
7179 | SessionCreate(0, 0); | ||
7180 | ; | ||
7181 | return 0; | ||
7182 | } | ||
7183 | _ACEOF | ||
7184 | if 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; } | ||
7192 | else | ||
7193 | ac_cv_use_security_session_api="no" | ||
7194 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
7195 | $as_echo "no" >&6; } | ||
7196 | fi | ||
7197 | rm -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> | ||
7203 | int | ||
7204 | main () | ||
7205 | { | ||
7206 | cc_context_t c; | ||
7207 | (void) cc_initialize (&c, 0, NULL, NULL); | ||
7208 | ; | ||
7209 | return 0; | ||
7210 | } | ||
7211 | _ACEOF | ||
7212 | if 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 | ||
7222 | else | ||
7223 | { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5 | ||
7224 | $as_echo "no" >&6; } | ||
7225 | |||
7226 | fi | ||
7227 | rm -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" |
7173 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : | 7230 | if test "x$ac_cv_have_decl_AU_IPv4" = xyes; then : |