1 --- tor-0.4.5.7/configure.ac 2021-03-15 12:42:55.000000000 +0100
2 +++ tor-0.4.5.7/configure.ac 2021-03-17 12:42:55.000000000 +0100
4 @@ -922,7 +922,7 @@ if test "$enable_static_libevent" = "yes
8 -TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $STATIC_LIBEVENT_FLAGS $TOR_LIB_IPHLPAPI $TOR_LIB_BCRYPT $TOR_LIB_WS32], [
9 +TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent-2.1 $STATIC_LIBEVENT_FLAGS $TOR_LIB_IPHLPAPI $TOR_LIB_BCRYPT $TOR_LIB_WS32], [
13 @@ -959,8 +959,8 @@ if test "$enable_static_libevent" = "yes
16 if test "x$ac_cv_header_event2_event_h" = "xyes"; then
17 - AC_SEARCH_LIBS(event_new, [event event_core], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for event_new"))
18 - AC_SEARCH_LIBS(evdns_base_new, [event event_extra], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for evdns_base_new"))
19 + AC_SEARCH_LIBS(event_new, [event-2.1 event_core-2.1], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for event_new"))
20 + AC_SEARCH_LIBS(evdns_base_new, [event-2.1 event_extra-2.1], , AC_MSG_ERROR("libevent2 is installed but linking it failed while searching for evdns_base_new"))
22 if test "$ac_cv_search_event_new" != "none required"; then
23 TOR_LIBEVENT_LIBS="$ac_cv_search_event_new"