From 6e614bf63260cf13b4196cc1c5e37595f149a72a Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 29 Jan 2005 02:41:46 +0000 Subject: 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 bfa870262e5f5f803a33268fce04831b0670ab67) --- source4/libads/config.m4 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'source4/libads') diff --git a/source4/libads/config.m4 b/source4/libads/config.m4 index 1ee508f26d..5103904c59 100644 --- a/source4/libads/config.m4 +++ b/source4/libads/config.m4 @@ -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) -- cgit