]> git.sur5r.net Git - openldap/blobdiff - Make-common.dist
Wrap $CC with quotes.
[openldap] / Make-common.dist
index dec90d498af9cb6a7cf8357cd05c29ab7c07b2a1..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