aboutsummaryrefslogtreecommitdiff
path: root/src/or/include.am
diff options
context:
space:
mode:
authorAlexander Færøy <ahf@torproject.org>2017-04-18 13:56:02 +0200
committerNick Mathewson <nickm@torproject.org>2017-04-25 08:06:02 -0400
commit157af1d26e3cdfc3159c1085f35e5ddcda7ccd21 (patch)
treece2a95e5012ed28837018c05ea26fff73a4b3868 /src/or/include.am
parentc171af048731cc00d77e17a1ff0be5c641024f8a (diff)
downloadtor-157af1d26e3cdfc3159c1085f35e5ddcda7ccd21.tar.gz
tor-157af1d26e3cdfc3159c1085f35e5ddcda7ccd21.zip
Add --enable-lzma to our configure script.
This patch adds support for enabling support for LZMA to our configure script. By default, the --enable-lzma option is set to "auto" which means if liblzma is available we'll build Tor with LZMA support. See: https://bugs.torproject.org/21662
Diffstat (limited to 'src/or/include.am')
-rw-r--r--src/or/include.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/include.am b/src/or/include.am
index 1841bbfe9d..d4dc6a90ce 100644
--- a/src/or/include.am
+++ b/src/or/include.am
@@ -120,7 +120,8 @@ src_or_tor_LDADD = src/or/libtor.a src/common/libor.a src/common/libor-ctime.a \
src/common/libor-crypto.a $(LIBKECCAK_TINY) $(LIBDONNA) \
src/common/libor-event.a src/trunnel/libor-trunnel.a \
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
- @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@
+ @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
+ @TOR_LZMA_LIBS@
if COVERAGE_ENABLED
src_or_tor_cov_SOURCES = src/or/tor_main.c
@@ -132,7 +133,8 @@ src_or_tor_cov_LDADD = src/or/libtor-testing.a src/common/libor-testing.a \
src/common/libor-crypto-testing.a $(LIBKECCAK_TINY) $(LIBDONNA) \
src/common/libor-event-testing.a src/trunnel/libor-trunnel-testing.a \
@TOR_ZLIB_LIBS@ @TOR_LIB_MATH@ @TOR_LIBEVENT_LIBS@ @TOR_OPENSSL_LIBS@ \
- @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@
+ @TOR_LIB_WS32@ @TOR_LIB_GDI@ @CURVE25519_LIBS@ @TOR_SYSTEMD_LIBS@ \
+ @TOR_LZMA_LIBS@
endif
ORHEADERS = \