|
@@ -508,12 +508,13 @@ TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $STATIC_LIBEVENT_FLAGS $T
|
|
|
#ifdef _WIN32
|
|
|
#include <winsock2.h>
|
|
|
#endif
|
|
|
-void *event_init(void);],
|
|
|
+struct event_base;
|
|
|
+struct event_base *event_base_new(void);],
|
|
|
[
|
|
|
#ifdef _WIN32
|
|
|
{WSADATA d; WSAStartup(0x101,&d); }
|
|
|
#endif
|
|
|
-event_init();
|
|
|
+event_base_new();
|
|
|
], [--with-libevent-dir], [/opt/libevent])
|
|
|
|
|
|
dnl Determine the incantation needed to link libevent.
|