aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-03-06 20:25:32 +0000
committerNick Mathewson <nickm@torproject.org>2007-03-06 20:25:32 +0000
commitc9e2766e7598a669d3acf3ae0e45e8be8b5945b0 (patch)
treed9263d98d50d9ba8d8659fa4dabec376766919f2 /configure.in
parent754811fbec3a48e3b53ba6fab0148e6ca627441f (diff)
downloadtor-c9e2766e7598a669d3acf3ae0e45e8be8b5945b0.tar
tor-c9e2766e7598a669d3acf3ae0e45e8be8b5945b0.tar.gz
r12461@Kushana: nickm | 2007-03-06 13:26:17 -0500
More autoconf fixes and updates. Maybe the bsd buildbots will be happy again. svn:r9747
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 473098680..acc5bc02c 100644
--- a/configure.in
+++ b/configure.in
@@ -199,9 +199,10 @@ else
fi
TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $WS32lib], [
+#include <stdlib.h>
#include <sys/time.h>
#include <sys/types.h>
-#include <event.h>], [void *event_init(void);],
+#include <event.h>], [void exit(int); void *event_init(void);],
[event_init(); exit(0);], [--with-libevent-dir], [/opt/libevent])
dnl Now check for particular libevent functions.