From 1b3e8c92316b0e176328788a64ce82688a261ba5 Mon Sep 17 00:00:00 2001
From: Kurt Zeilenga <kurt@openldap.org>
Date: Thu, 20 Aug 1998 01:22:35 +0000
Subject: [PATCH] Added REVERSE_LOOKUP to Make-common.dist to document its
 existence.

---
 Make-common.dist  | 4 ++++
 build/Make-append | 1 +
 2 files changed, 5 insertions(+)

diff --git a/Make-common.dist b/Make-common.dist
index c880481571..2fd9bae15d 100644
--- a/Make-common.dist
+++ b/Make-common.dist
@@ -225,6 +225,10 @@ LDAP_DEBUG=-DLDAP_DEBUG
 # uncomment this line to eliminate local caching support in the libldap
 #NO_CACHE=-DNO_CACHE
 
+# uncomment this line to do reverse lookups (useful for doing ACLs
+# by host/domain names)
+LDAP_REVERSE_LOOKUP=-DREVERSE_LOOKUP
+
 # uncomment this line to enable support for LDAP referrals in libldap
 LDAP_REFERRALS=-DLDAP_REFERRALS
 
diff --git a/build/Make-append b/build/Make-append
index 67a2f29bb0..a899b45051 100644
--- a/build/Make-append
+++ b/build/Make-append
@@ -21,6 +21,7 @@
 # DEFS are included in CFLAGS
 DEFS	= $(PLATFORMCFLAGS) $(LDAP_DEBUG) $(KERBEROS) $(AFSKERBEROS) \
 		$(UOFM) $(UOFA) $(NO_USERINTERFACE) $(CLDAP) $(NO_CACHE) \
+		$(LDAP_REVERSE_LOOKUP) \
 		$(LDAP_REFERRALS) $(LDAP_DNS) $(STR_TRANSLATION) \
 		$(LIBLDAP_CHARSETS) $(LIBLDAP_DEF_CHARSET) \
 		$(SLAPD_BACKENDS) $(LDBMBACKEND) $(LDBMINCLUDE) $(PHONETIC)
-- 
GitLab