X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/4b6dae8fe79b2a099f43e59289d01dc341043d9c..a7213e650521b1d30dd258aef112591b6f5f7827:/openssh/configure.ac diff --git a/openssh/configure.ac b/openssh/configure.ac index e398114..3c9da33 100644 --- a/openssh/configure.ac +++ b/openssh/configure.ac @@ -222,30 +222,30 @@ case "$host" in AC_DEFINE(BROKEN_SETREGID) AC_DEFINE_UNQUOTED(BIND_8_COMPAT, 1, [Define if your resolver libs need this for getrrsetbyname]) - AC_MSG_CHECKING(if we have the Security Authorization Session API) - AC_TRY_COMPILE([#include ], - [SessionCreate(0, 0);], - [ac_cv_use_security_session_api="yes" - AC_DEFINE(USE_SECURITY_SESSION_API, 1, - [platform has a Security Authorization Session API]) - LIBS="$LIBS -framework Security" - AC_MSG_RESULT(yes)], - [ac_cv_use_security_session_api="no" - AC_MSG_RESULT(no)]) - AC_MSG_CHECKING(if we have an in-memory credentials cache) - AC_TRY_COMPILE( - [#include ], - [cc_context_t c; - (void) cc_initialize (&c, 0, NULL, NULL);], - [AC_DEFINE(USE_CCAPI, 1, + AC_MSG_CHECKING(if we have the Security Authorization Session API) + AC_TRY_COMPILE([#include ], + [SessionCreate(0, 0);], + [ac_cv_use_security_session_api="yes" + AC_DEFINE(USE_SECURITY_SESSION_API, 1, + [platform has the Security Authorization Session API]) + LIBS="$LIBS -framework Security" + AC_MSG_RESULT(yes)], + [ac_cv_use_security_session_api="no" + AC_MSG_RESULT(no)]) + AC_MSG_CHECKING(if we have an in-memory credentials cache) + AC_TRY_COMPILE( + [#include ], + [cc_context_t c; + (void) cc_initialize (&c, 0, NULL, NULL);], + [AC_DEFINE(USE_CCAPI, 1, [platform uses an in-memory credentials cache]) - LIBS="$LIBS -framework Security" - AC_MSG_RESULT(yes) - if test "x$ac_cv_use_security_session_api" = "xno"; then - AC_MSG_ERROR(*** Need a security framework to use the credentials cache API ***) - fi], - [AC_MSG_RESULT(no)] - ) + LIBS="$LIBS -framework Security" + AC_MSG_RESULT(yes) + if test "x$ac_cv_use_security_session_api" = "xno"; then + AC_MSG_ERROR(*** Need a security framework to use the credentials cache API ***) + fi], + [AC_MSG_RESULT(no)] + ) ;; *-*-hpux*) # first we define all of the options common to all HP-UX releases @@ -1111,6 +1111,7 @@ if test "x$gsi_path" != "xno" ; then AC_MSG_ERROR(link with Globus libraries failed) ] ) + AC_CHECK_FUNCS(globus_gss_assist_map_and_authorize) INSTALL_GSISSH="yes" else INSTALL_GSISSH=""