summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2008-08-01 19:24:09 +0200
committerStefan Metzmacher <metze@samba.org>2008-08-01 21:10:39 +0200
commitd96c5758f604b3251cf085d34c942975a5693645 (patch)
treebbc7fa61a46da9ab895e1e89f5d1327b2c3ffbcb /source4
parent59737cddfb55934520a3308748b8c1b32459c951 (diff)
downloadsamba-d96c5758f604b3251cf085d34c942975a5693645.tar.gz
samba-d96c5758f604b3251cf085d34c942975a5693645.tar.bz2
samba-d96c5758f604b3251cf085d34c942975a5693645.zip
heimdal_build/internal: add some useful defines
metze (This used to be commit b9727d612bd2e9cf67ca2d4a9c60dc13d4bed5be)
Diffstat (limited to 'source4')
-rw-r--r--source4/heimdal_build/internal.m46
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/heimdal_build/internal.m4 b/source4/heimdal_build/internal.m4
index f83fdf7460..9a08022993 100644
--- a/source4/heimdal_build/internal.m4
+++ b/source4/heimdal_build/internal.m4
@@ -236,8 +236,12 @@ AC_MSG_RESULT($LEX_YACC)
# of the samba source tree.
# if we ever get to using a host kerberos, we might add conditionals here
+AC_DEFINE(HAVE_COM_ERR,1,[Whether com_err is available])
+HAVE_COM_ERR=YES
AC_DEFINE(HAVE_KRB5,1,[Whether kerberos is available])
HAVE_KRB5=YES
+AC_DEFINE(HAVE_GSSAPI,1,[Whether GSSAPI is available])
+HAVE_GSSAPI=YES
SMB_ENABLE(KERBEROS_LIB, YES)
SMB_ENABLE(asn1_compile, YES)
SMB_ENABLE(compile_et, YES)
@@ -258,4 +262,6 @@ fi
VPATH="$VPATH:\$(HEIMDAL_VPATH)"
+AC_DEFINE(SAMBA4_INTERNAL_HEIMDAL,1,[Whether we use in internal heimdal build])
+
SMB_INCLUDE_MK(heimdal_build/internal.mk)