1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-04 17:47:26 +03:00

More Heimdal changes. Still not compiling with Heimdal yet...

Jeremy.
This commit is contained in:
Jeremy Allison -
parent 54d83de8a2
commit 4333be5732
4 changed files with 9 additions and 2 deletions

2
source/configure vendored
View File

@ -12299,7 +12299,7 @@ done
# now check for gssapi headers. This is also done here to allow for
# different kerberos include paths
for ac_hdr in gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h
for ac_hdr in gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6

View File

@ -2032,7 +2032,7 @@ fi
# now check for gssapi headers. This is also done here to allow for
# different kerberos include paths
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h)
AC_CHECK_HEADERS(gssapi.h gssapi/gssapi_generic.h gssapi/gssapi.h com_err.h)
##################################################################
# we might need the k5crypto and com_err libraries on some systems

View File

@ -875,6 +875,9 @@
/* Define if you have the <arpa/inet.h> header file. */
#undef HAVE_ARPA_INET_H
/* Define if you have the <com_err.h> header file. */
#undef HAVE_COM_ERR_H
/* Define if you have the <compat.h> header file. */
#undef HAVE_COMPAT_H

View File

@ -424,6 +424,10 @@
#include <gssapi/gssapi_generic.h>
#endif
#if HAVE_COM_ERR_H
#include <com_err.h>
#endif
/* we support ADS if we want it and have krb5 and ldap libs */
#if defined(WITH_ADS) && defined(HAVE_KRB5) && defined(HAVE_LDAP)
#define HAVE_ADS