]> git.sur5r.net Git - openldap/blobdiff - Make-common.dist
Wrap $CC with quotes.
[openldap] / Make-common.dist
index 127ec9af8194aaefc3db09039ecdba27a1065668..58c5105fb4d34428e1558a933a732bf1472e2d95 100644 (file)
 ## Edit the following variables to have appropriate values for your system ##
 #############################################################################
 
+#
+# Note:  Some make(1) programs do not understand the FOO?=BAR syntax.
+#
+# On such systems, you should use copy Make-common.gmake to Make-common
+# and use gmake to build the distribution.
+#
+
 #############################################################################
 ## LDAP install paths                                                      ##
 #############################################################################
@@ -74,10 +81,24 @@ EXTRALDFLAGS?=-g
 # uncomment and change the various KRB* lines to point to where the
 # kerberos libraries and include files are installed at your site.
 #
+# *** NOTE ***
+# If you have an MIT Kerberos V distribution and you compiled it with -krb4
+# flag which enables Kerberos IV compatibility, uncomment KERBEROS_V -
+# this will make sure all your includes can be found where they actually are -
+# in this case /usr/local/kerberos/include/kerberosIV - simple change of
+# KRBINCLUDEFLAG will _not_ work. Also uncomment the correct KRBLIBS define.
+# 
+# For Kerberos V with Kerberos IV compatibility uncomment the following line
+#KERBEROS=-DKERBEROS -DKERBEROS_V
+# For Kerberos IV uncomment the following line
 #KERBEROS=-DKERBEROS
+#
 #AFSKERBEROS=-DAFSKERBEROS
 #KRBINCLUDEFLAG        = -I/usr/local/kerberos/include
 #KRBLIBFLAG    = -L/usr/local/kerberos/lib
+# For Kerberos V with Kerberos IV compatibility uncomment the following line
+#KRBLIBS = -lkrb4 -lkrb5 -ldes425
+# For Kerberos IV uncomment the following line
 #KRBLIBS               = -lkrb -ldes
 
 #############################################################################
@@ -144,6 +165,8 @@ SLAPD_BACKENDS= -DLDAP_LDBM -DLDAP_SHELL -DLDAP_PASSWD
 # standard unix ndbm
 
 # Fallback settings, defaults are set in build/*/Make-platform
+#   The NDBM interface may not work on some (any) platforms.
+#      You may be happier with Berkeley DB B-trees.
 LDBMBACKEND?=-DLDBM_USE_NDBM
 LDBMINCLUDE?=
 LDBMLIB?=
@@ -163,8 +186,13 @@ LDBMLIB?=
 #LDBMINCLUDE=-I/usr/local/gdbm/include
 #LDBMLIB=-lgdbm
 
-#undef these if you have SLEEPYCAT DB2 installed
-#LDBMBACKEND=-DLDBM_USE_DBBTREE -DHAVE_SLEEPYCAT_DB2
+#undef these if you have SleepyCat DB2 installed the updated DBI
+#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2
+#LDBMINCLUDE=-I/usr/local/include
+#LDBMLIB=-L/usr/local/lib -ldb
+
+#undef these if you have SleepyCat DB2 installed (with compat185)
+#LDBMBACKEND=-DLDBM_USE_DBBTREE -DLDBM_USE_DB2_COMPAT185
 #LDBMINCLUDE=-I/usr/local/include
 #LDBMLIB=-L/usr/local/lib -ldb
 
@@ -253,8 +281,9 @@ LDAP_REFERRALS=-DLDAP_REFERRALS
 # uncomment this line to enable ACL by groups
 # LDAP_ACLGROUP=-DACLGROUP
 
-# uncomment these lines to enable support for CRYPT passwords in LDBM.
-# LDAP_CRYPT=-DLDAP_CRYPT
+# uncomment these lines to enable support for CRYPT, SHA1, and/or MD5 passwords
+# in LDBM.  Crypt uses platform provided crypt(3).
+# LDAP_CRYPT=-DLDAP_CRYPT -DLDAP_SHA1 -DLDAP_MD5
 # LDAP_CRYPT_LIB?=
 # and comment this line out
 LDAP_CRYPT_LIB=