From 45329490797bbaf91000dfa992a97a811f306b70 Mon Sep 17 00:00:00 2001 From: Jeremy Harris Date: Sun, 27 Feb 2022 14:11:09 +0000 Subject: Build: Allow Local/Makefile "USE_NDBM=y" to override OS/Makefile-* --- src/src/buildconfig.c | 2 +- src/src/config.h.defaults | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3