From: alex Date: Mon, 2 Aug 2021 16:10:37 +0000 (-0700) Subject: small changes to work with self-compiled libtorrent X-Git-Tag: v1.1.1~1 X-Git-Url: http://git.infiniteadaptability.org/?a=commitdiff_plain;h=74bd114bcc87c884250f871ca353f5e1f212583a;p=seeder small changes to work with self-compiled libtorrent --- diff --git a/configure.ac b/configure.ac index 334bc01..d5352bd 100644 --- a/configure.ac +++ b/configure.ac @@ -86,8 +86,7 @@ AC_CHECK_HEADER_STDBOOL AC_TYPE_SIZE_T # Checks for library functions. -AC_FUNC_MALLOC -AC_CHECK_FUNCS([atexit mkdir strchr strpbrk strrchr]) +AC_CHECK_FUNCS([atexit malloc mkdir strchr strpbrk strrchr]) AX_CXX_COMPILE_STDCXX([17], [noext], [mandatory]) diff --git a/seederd/Makefile.am b/seederd/Makefile.am index b5e4835..6cedb1b 100644 --- a/seederd/Makefile.am +++ b/seederd/Makefile.am @@ -1,5 +1,6 @@ AM_CXXFLAGS = \ -DPREFIX=\"$(localstatedir)/seeder\" \ + -DTORRENT_USE_OPENSSL \ -I$(builddir)/inc/ \ -I$(srcdir)/inc/ diff --git a/seederd/src/main.cpp b/seederd/src/main.cpp index fcb8b38..3e05f72 100644 --- a/seederd/src/main.cpp +++ b/seederd/src/main.cpp @@ -77,7 +77,6 @@ int main(int argc, char **argv) try { & ~(lt::alert::dht_notification + lt::alert::piece_progress_notification + lt::alert::block_progress_notification - + lt::alert::stats_notification + lt::alert::session_log_notification + lt::alert::torrent_log_notification + lt::alert::peer_log_notification