summaryrefslogtreecommitdiff
path: root/src
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 /src
parenta24e9982bdef1e7d738c8d4592705899d15d385d (diff)
Build: Allow Local/Makefile "USE_NDBM=y" to override OS/Makefile-*
Diffstat (limited to 'src')
-rw-r--r--src/src/buildconfig.c2
-rw-r--r--src/src/config.h.defaults1
2 files changed, 2 insertions, 1 deletions
diff --git a/src/src/buildconfig.c b/src/src/buildconfig.c
index a680b344a..a1b5485cd 100644
--- a/src/src/buildconfig.c
+++ b/src/src/buildconfig.c
@@ -51,7 +51,7 @@ typedef struct {
char *data;
} save_item;
-static const char *db_opts[] = { "", "USE_DB", "USE_GDBM", "USE_TDB" };
+static const char *db_opts[] = { "", "USE_DB", "USE_GDBM", "USE_TDB", "USE_NDBM" };
static int have_ipv6 = 0;
static int have_iconv = 0;
diff --git a/src/src/config.h.defaults b/src/src/config.h.defaults
index 716f92ed3..65d33ac24 100644
--- a/src/src/config.h.defaults
+++ b/src/src/config.h.defaults
@@ -181,6 +181,7 @@ Do not put spaces between # and the 'define'.
#define USE_GDBM
#define USE_GNUTLS
#define AVOID_GNUTLS_PKCS11
+#define USE_NDBM
#define USE_OPENSSL
#define USE_READLINE
#define USE_TCP_WRAPPERS