r12594@catbus: nickm | 2007-04-30 18:31:48 -0400

Oops: detect event_get_version and friends correctly again.


svn:r10073
This commit is contained in:
Nick Mathewson 2007-04-30 22:42:47 +00:00
parent 22f2f30a33
commit 4b250bbbb7

View File

@ -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?