From dcb9c4df67d116dc16f5361c8e4cd6e21fbb9abf Mon Sep 17 00:00:00 2001 From: Micah Elizabeth Scott Date: Wed, 8 Mar 2023 15:44:55 -0800 Subject: hs_pow: Make proof-of-work support optional in configure This adds a new "pow" module for the user-visible proof of work support in ./configure, and this disables src/feature/hs/hs_pow at compile-time. Signed-off-by: Micah Elizabeth Scott --- src/core/include.am | 1 + 1 file changed, 1 insertion(+) (limited to 'src/core') diff --git a/src/core/include.am b/src/core/include.am index 7752a7974b..d24e5d5137 100644 --- a/src/core/include.am +++ b/src/core/include.am @@ -17,6 +17,7 @@ if UNITTESTS_ENABLED LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_RELAY_SOURCES) LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_DIRCACHE_SOURCES) LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_DIRAUTH_SOURCES) +LIBTOR_APP_TESTING_A_SOURCES += $(MODULE_POW_SOURCES) src_core_libtor_app_testing_a_SOURCES = $(LIBTOR_APP_TESTING_A_SOURCES) else -- cgit v1.2.3-54-g00ecf