force LMDB if RONLY

This commit is contained in:
Jan-Piet Mens
2015-10-22 11:21:52 +02:00
parent 91bfdabf79
commit 5962cb8911
2 changed files with 6 additions and 3 deletions

View File

@@ -31,6 +31,11 @@ ifeq ($(WITH_KILL),yes)
CFLAGS += -DWITH_KILL=1
endif
ifeq ($(WITH_RONLY),yes)
CFLAGS += -DWITH_RONLY=1
WITH_LMDB = yes
endif
ifeq ($(WITH_LMDB),yes)
CFLAGS += -DWITH_LMDB=1 -Imdb/
OTR_OBJS += gcache.o
@@ -53,9 +58,6 @@ ifneq ($(APIKEY),)
CFLAGS += -DAPIKEY="\"$(APIKEY)\""
endif
ifeq ($(WITH_RONLY),yes)
CFLAGS += -DWITH_RONLY=1
endif
CFLAGS += -DSTORAGEDEFAULT=\"$(STORAGEDEFAULT)\" -DDOCROOT=\"$(DOCROOT)\"

View File

@@ -18,6 +18,7 @@ WITH_PING ?= yes
WITH_KILL ?= no
# Do you want R_only support? (Probably not; this is for Hosted)
# If you set this to `yes', WITH_LMDB will be set to yes
WITH_RONLY ?= no
# Where should the recorder store its data? This directory must