aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-04-30 22:42:47 +0000
committerNick Mathewson <nickm@torproject.org>2007-04-30 22:42:47 +0000
commit4b250bbbb7c3c807aa252a2c024f5032b7afe250 (patch)
tree4664e5ee593ca1c2e2fbab28fac1bb2b27e63455 /configure.in
parent22f2f30a33d0fa525730f2915f9d7209bd0045fe (diff)
downloadtor-4b250bbbb7c3c807aa252a2c024f5032b7afe250.tar
tor-4b250bbbb7c3c807aa252a2c024f5032b7afe250.tar.gz
r12594@catbus: nickm | 2007-04-30 18:31:48 -0400
Oops: detect event_get_version and friends correctly again. svn:r10073
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 2743f70b5..209c14e6d 100644
--- a/configure.in
+++ b/configure.in
@@ -197,7 +197,13 @@ TOR_SEARCH_LIBRARY(libevent, $trylibeventdir, [-levent $WS32lib], [
[event_init(); exit(0);], [--with-libevent-dir], [/opt/libevent])
dnl Now check for particular libevent functions.
+save_LIBS="$LIBS"
+save_LDFLAGS="$LDFLAGS"
+LIBS="-levent $LIBS"
+LDFLAGS="$TOR_LDFLAGS_libevent $LIBS"
AC_CHECK_FUNCS(event_get_version event_get_method event_set_log_callback)
+LIBS="$save_LIBS"
+LDFLAGS="$save_LDFLAGS"
dnl ------------------------------------------------------
dnl Where do you live, openssl? And how do we call you?