[exim-cvs] Hintsdb: fix build config phase for sqlite

Góra strony
Delete this message
Reply to this message
Autor: Exim Git Commits Mailing List
Data:  
Dla: exim-cvs
Temat: [exim-cvs] Hintsdb: fix build config phase for sqlite
Gitweb: https://git.exim.org/exim.git/commitdiff/f62aa2d04dae708c59988157496a0479f2c57286
Commit:     f62aa2d04dae708c59988157496a0479f2c57286
Parent:     de531e70dc0e5aa94cf6fba35afa1cd23c36bf1f
Author:     Jeremy Harris <jgh146exb@???>
AuthorDate: Sun Jun 9 16:08:38 2024 +0100
Committer:  Jeremy Harris <jgh146exb@???>
CommitDate: Sun Jun 9 16:08:38 2024 +0100


    Hintsdb: fix build config phase for sqlite
---
 src/src/buildconfig.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)


diff --git a/src/src/buildconfig.c b/src/src/buildconfig.c
index 8f53671a0..bfd267929 100644
--- a/src/src/buildconfig.c
+++ b/src/src/buildconfig.c
@@ -53,7 +53,7 @@ typedef struct {
char *data;
} save_item;

-static const char *db_opts[] = { "", "USE_DB", "USE_GDBM", "USE_TDB", "USE_NDBM" };
+static const char *db_opts[] = { "", "USE_DB", "USE_GDBM", "USE_TDB", "USE_NDBM", "USE_SQLITE" };

 static int have_ipv6 = 0;
 static int have_iconv = 0;
@@ -266,7 +266,7 @@ while (fgets(buffer, sizeof(buffer), base) != NULL)
         {
         if (use_which_db_in_local_makefile)
           {
-          printf("*** Only one of USE_DB, USE_GDBM, or USE_TDB should be "
+          printf("*** Only one of USE_DB, USE_GDBM, USE_SQLITE or USE_TDB should be "
             "defined in Local/Makefile\n");
           exit(1);
           }


--
## subscription configuration (requires account):
## https://lists.exim.org/mailman3/postorius/lists/exim-cvs.lists.exim.org/
## unsubscribe (doesn't require an account):
## exim-cvs-unsubscribe@???
## Exim details at http://www.exim.org/
## Please use the Wiki with this list - http://wiki.exim.org/