mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Add --disable-mempools configure option
This commit is contained in:
+12
-4
@@ -24,6 +24,14 @@ else
|
||||
libor_extra_source=
|
||||
endif
|
||||
|
||||
if USE_MEMPOOLS
|
||||
libor_mempool_source=src/common/mempool.c
|
||||
libor_mempool_header=src/common/mempool.h
|
||||
else
|
||||
libor_mempool_source=
|
||||
libor_mempool_header=
|
||||
endif
|
||||
|
||||
src_common_libcurve25519_donna_a_CFLAGS=
|
||||
|
||||
if BUILD_CURVE25519_DONNA
|
||||
@@ -56,13 +64,13 @@ LIBOR_A_SOURCES = \
|
||||
src/common/di_ops.c \
|
||||
src/common/log.c \
|
||||
src/common/memarea.c \
|
||||
src/common/mempool.c \
|
||||
src/common/procmon.c \
|
||||
src/common/util.c \
|
||||
src/common/util_codedigest.c \
|
||||
src/common/sandbox.c \
|
||||
src/ext/csiphash.c \
|
||||
$(libor_extra_source)
|
||||
$(libor_extra_source) \
|
||||
$(libor_mempool_source)
|
||||
|
||||
LIBOR_CRYPTO_A_SOURCES = \
|
||||
src/common/aes.c \
|
||||
@@ -102,7 +110,6 @@ COMMONHEADERS = \
|
||||
src/common/crypto_curve25519.h \
|
||||
src/common/di_ops.h \
|
||||
src/common/memarea.h \
|
||||
src/common/mempool.h \
|
||||
src/common/linux_syscalls.inc \
|
||||
src/common/procmon.h \
|
||||
src/common/sandbox.h \
|
||||
@@ -111,7 +118,8 @@ COMMONHEADERS = \
|
||||
src/common/torint.h \
|
||||
src/common/torlog.h \
|
||||
src/common/tortls.h \
|
||||
src/common/util.h
|
||||
src/common/util.h \
|
||||
$(libor_mempool_header)
|
||||
|
||||
noinst_HEADERS+= $(COMMONHEADERS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user