Backport: Fix a variable handling mistake when testing for libevent functions in configure.in. Found by Riastradh.

svn:r16794
This commit is contained in:
Nick Mathewson 2008-09-08 01:57:17 +00:00
parent 066104e853
commit afba08482f
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,11 @@
Changes in version 0.2.0.32 - 2008-??-??
o Minor bugfixes:
- Fix several infrequent memory leaks spotted by a static analysis
tool (XXX say which, if we're allowed).
- When testing for libevent functions, set the LDFLAGS variable
correctly. (Found by Riastradh.)
Changes in version 0.2.0.31 - 2008-09-03
o Major bugfixes:
- Make sure that two circuits can never exist on the same connection

View File

@ -254,7 +254,7 @@ save_LIBS="$LIBS"
save_LDFLAGS="$LDFLAGS"
save_CPPFLAGS="$CPPFLAGS"
LIBS="-levent $TOR_LIB_WS32 $LIBS"
LDFLAGS="$TOR_LDFLAGS_libevent $LIBS"
LDFLAGS="$TOR_LDFLAGS_libevent $LDFLAGS"
CPPFLAGS="$TOR_CPPFLAGS_libevent $CPPFLAGS"
AC_CHECK_FUNCS(event_get_version event_get_method event_set_log_callback)
LIBS="$save_LIBS"