From 4b250bbbb7c3c807aa252a2c024f5032b7afe250 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 30 Apr 2007 22:42:47 +0000 Subject: [PATCH] r12594@catbus: nickm | 2007-04-30 18:31:48 -0400 Oops: detect event_get_version and friends correctly again. svn:r10073 --- configure.in | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/configure.in b/configure.in index 2743f70b56..209c14e6df 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?