r19818@catbus: nickm | 2008-05-18 12:25:22 -0400
Backport: tests for libevent 1.4.x that work on mingw. svn:r14659
This commit is contained in:
parent
9704ff2c57
commit
611d58e0bc
|
@ -3,6 +3,9 @@ Changes in version 0.2.0.27-rc - 2008-05-??
|
||||||
- A new contrib/tor-exit-notice.html file that exit relay operators
|
- A new contrib/tor-exit-notice.html file that exit relay operators
|
||||||
can put on their website to help reduce abuse queries.
|
can put on their website to help reduce abuse queries.
|
||||||
|
|
||||||
|
o Minor features (build):
|
||||||
|
- Add support to detect Libevent versions in the 1.4.x series on mingw.
|
||||||
|
|
||||||
|
|
||||||
Changes in version 0.2.0.26-rc - 2008-05-13
|
Changes in version 0.2.0.26-rc - 2008-05-13
|
||||||
Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
|
Tor 0.2.0.26-rc fixes a major security vulnerability caused by a bug
|
||||||
|
|
10
configure.in
10
configure.in
|
@ -231,11 +231,19 @@ tor_libevent_devpkg_redhat="libevent-devel"
|
||||||
tor_libevent_devpkg_debian="libevent-dev"
|
tor_libevent_devpkg_debian="libevent-dev"
|
||||||
|
|
||||||
TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $TOR_LIB_WS32], [
|
TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $TOR_LIB_WS32], [
|
||||||
|
#ifdef WIN32
|
||||||
|
#include <winsock2.h>
|
||||||
|
#endif
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <sys/time.h>
|
#include <sys/time.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <event.h>], [void exit(int); void *event_init(void);],
|
#include <event.h>], [void exit(int); void *event_init(void);],
|
||||||
[event_init(); exit(0);], [--with-libevent-dir], [/opt/libevent])
|
[
|
||||||
|
#ifdef WIN32
|
||||||
|
{WSAData d; WSAStartup(0x101,&d); }
|
||||||
|
#endif
|
||||||
|
event_init(); exit(0);
|
||||||
|
], [--with-libevent-dir], [/opt/libevent])
|
||||||
|
|
||||||
dnl Now check for particular libevent functions.
|
dnl Now check for particular libevent functions.
|
||||||
save_LIBS="$LIBS"
|
save_LIBS="$LIBS"
|
||||||
|
|
Loading…
Reference in New Issue