1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-24 10:50:22 +03:00

s3-kerberos: next step to resolve Bug #6929: build with recent heimdal.

Based on patch from Allan <allan@archlinux.org>.

Also should fix the FreeBSD build on the buildfarm.

Guenther
This commit is contained in:
Günther Deschner 2009-11-26 10:15:45 +01:00
parent 60419a0eb7
commit 5b3a32be97
2 changed files with 8 additions and 4 deletions

View File

@ -26,7 +26,11 @@
#if defined(HAVE_KRB5) && defined(HAVE_KRB5_LOCATE_PLUGIN_H)
#include <krb5/krb5.h>
#if HAVE_COM_ERR_H
#include <com_err.h>
#endif
#include <krb5.h>
#include <krb5/locate_plugin.h>
#ifndef KRB5_PLUGIN_NO_HANDLE

View File

@ -3329,7 +3329,7 @@ if test x"$with_ads_support" != x"no"; then
# now check for krb5.h. Some systems have the libraries without the headers!
# note that this check is done here to allow for different kerberos
# include paths
AC_CHECK_HEADERS(krb5.h krb5/krb5.h)
AC_CHECK_HEADERS(krb5.h)
if test x"$ac_cv_header_krb5_h" = x"no"; then
@ -3351,8 +3351,8 @@ if test x"$with_ads_support" != x"no"; then
LDFLAGS=$ac_save_LDFLAGS
fi
AC_CHECK_HEADERS([krb5/locate_plugin.h], [], [],
[[#ifdef HAVE_KRB5_KRB5_H
#include <krb5/krb5.h>
[[#ifdef HAVE_KRB5_H
#include <krb5.h>
#endif
]])