]> infiniteadaptability.org Git - seeder/commitdiff
small changes to work with self-compiled libtorrent
authoralex <[email protected]>
Mon, 2 Aug 2021 16:10:37 +0000 (09:10 -0700)
committeralex <[email protected]>
Mon, 2 Aug 2021 16:10:37 +0000 (09:10 -0700)
configure.ac
seederd/Makefile.am
seederd/src/main.cpp

index 334bc01091f0c87f3be921ec99ea5af9df362cd5..d5352bdf442fcd0cff340cb16a882180a2ec0540 100644 (file)
@@ -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])
 
index b5e483511eb571e0d19f2e96b374d980de967b10..6cedb1bf07b14388d5f3e4434a6eff9057211815 100644 (file)
@@ -1,5 +1,6 @@
 AM_CXXFLAGS = \
        -DPREFIX=\"$(localstatedir)/seeder\" \
+       -DTORRENT_USE_OPENSSL \
        -I$(builddir)/inc/ \
        -I$(srcdir)/inc/
 
index fcb8b38072b20f0f6e4e8e57d7804b02e0794bd0..3e05f72106802fe45002219a3f2adbe40f3ea0fd 100644 (file)
@@ -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