summaryrefslogtreecommitdiff
path: root/doc/doc-docbook/spec.xfpt
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2022-02-27 14:11:09 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2022-02-27 16:19:35 +0000
commit45329490797bbaf91000dfa992a97a811f306b70 (patch)
tree615bc21affad69ec6b604281c50be44249ec26ad /doc/doc-docbook/spec.xfpt
parenta24e9982bdef1e7d738c8d4592705899d15d385d (diff)
Build: Allow Local/Makefile "USE_NDBM=y" to override OS/Makefile-*
Diffstat (limited to 'doc/doc-docbook/spec.xfpt')
-rw-r--r--doc/doc-docbook/spec.xfpt7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/doc-docbook/spec.xfpt b/doc/doc-docbook/spec.xfpt
index 6c0ac922d..6ede1dc95 100644
--- a/doc/doc-docbook/spec.xfpt
+++ b/doc/doc-docbook/spec.xfpt
@@ -1841,6 +1841,9 @@ USE_DB=yes
.endd
Similarly, for gdbm you set USE_GDBM, and for tdb you set USE_TDB. An
error is diagnosed if you set more than one of these.
+.new
+You can set USE_NDBM if needed to override an operating system default.
+.wen
At the lowest level, the build-time configuration sets none of these options,
thereby assuming an interface of type (1). However, some operating system
@@ -1855,7 +1858,11 @@ in one of these lines:
.code
DBMLIB = -ldb
DBMLIB = -ltdb
+DBMLIB = -lgdbm -lgdbm_compat
.endd
+.new
+The last of those was for a Linux having GDBM provide emulated NDBM facilities.
+.wen
Settings like that will work if the DBM library is installed in the standard
place. Sometimes it is not, and the library's header file may also not be in
the default path. You may need to set INCLUDE to specify where the header