From: Nick Mathewson Date: Mon, 30 Apr 2007 22:42:47 +0000 (+0000) Subject: r12594@catbus: nickm | 2007-04-30 18:31:48 -0400 X-Git-Tag: tor-0.2.0.1-alpha~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b250bbbb7c3c807aa252a2c024f5032b7afe250;p=thirdparty%2Ftor.git r12594@catbus: nickm | 2007-04-30 18:31:48 -0400 Oops: detect event_get_version and friends correctly again. svn:r10073 --- 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?