1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00

r5079: don't look for gss_display_status() in libgssapi_krb5 unless we

haven't already got it from libgssapi. This should fix the problem of
building with heimdal when we have MIT installed
(This used to be commit bfa870262e)
This commit is contained in:
Andrew Tridgell 2005-01-29 02:41:46 +00:00 committed by Gerald (Jerry) Carter
parent d5b8ec7b0e
commit 6e614bf632

View File

@ -304,8 +304,10 @@ if test x"$with_krb5_support" != x"no"; then
########################################################
# now see if we can find the gssapi libs in standard paths
AC_CHECK_LIB_EXT(gssapi_krb5, KRB5_LIBS,gss_display_status,[],[],
if test x"$ac_cv_lib_ext_gssapi_gss_display_status" != x"yes"; then
AC_CHECK_LIB_EXT(gssapi_krb5, KRB5_LIBS,gss_display_status,[],[],
AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available]))
fi
AC_CHECK_FUNC_EXT(krb5_set_real_time, $KRB5_LIBS)
AC_CHECK_FUNC_EXT(krb5_set_default_in_tkt_etypes, $KRB5_LIBS)