summaryrefslogtreecommitdiffstats
path: root/src/configure.in
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2008-08-14 21:32:58 +0000
committerKen Raeburn <raeburn@mit.edu>2008-08-14 21:32:58 +0000
commit3f6a4615b9b2c145e8ca16dd034e44eaac42b600 (patch)
tree79b7f9776cb66437aa76452b77a46d2dccd07a2e /src/configure.in
parent3ceb437bee2c48950e5b4131164276870b40f8e7 (diff)
downloadkrb5-3f6a4615b9b2c145e8ca16dd034e44eaac42b600.tar.gz
krb5-3f6a4615b9b2c145e8ca16dd034e44eaac42b600.tar.xz
krb5-3f6a4615b9b2c145e8ca16dd034e44eaac42b600.zip
If the LDAP KDB back end is being built, define ENABLE_LDAP. If
ENABLE_LDAP is not defined, don't build the LDAP KDB ASN.1 encoding and decoding functions, and use null pointers for them in the accessor function table. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20659 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/configure.in')
-rw-r--r--src/configure.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/configure.in b/src/configure.in
index b29082320..ffec8b0af 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1066,6 +1066,7 @@ if test -n "$OPENLDAP_PLUGIN"; then
AC_ERROR("BER library missing - cannot build LDAP database module")
fi
fi
+ AC_DEFINE([ENABLE_LDAP], 1, [Define if LDAP KDB support within the Kerberos library (mainly ASN.1 code) should be enabled.])
AC_SUBST(LDAP_LIBS)
K5_GEN_MAKEFILE(plugins/kdb/ldap)