[or-cvs] r16793: {tor} Fix a variable handling mistake when testing for libevent fu (tor/trunk)

nickm at seul.org nickm at seul.org
Mon Sep 8 01:57:03 UTC 2008


Author: nickm
Date: 2008-09-07 21:57:02 -0400 (Sun, 07 Sep 2008)
New Revision: 16793

Modified:
   tor/trunk/ChangeLog
   tor/trunk/configure.in
Log:
Fix a variable handling mistake when testing for libevent functions in configure.in.  Found by Riastradh.

Modified: tor/trunk/ChangeLog
===================================================================
--- tor/trunk/ChangeLog	2008-09-08 01:01:11 UTC (rev 16792)
+++ tor/trunk/ChangeLog	2008-09-08 01:57:02 UTC (rev 16793)
@@ -8,6 +8,8 @@
     - Fixed some memory leaks --some quite frequent, some almost impossible
       to trigger-- based on results of a static analysis tool. (XXX Can we
       say which? -NM)
+    - When testing for libevent functions, set the LDFLAGS variable
+      correctly.  (Found by Riastradh.)
 
   o Minor features:
     - Use a lockfile to make sure that two Tor processes are not

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2008-09-08 01:01:11 UTC (rev 16792)
+++ tor/trunk/configure.in	2008-09-08 01:57:02 UTC (rev 16793)
@@ -268,7 +268,7 @@
 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"



More information about the tor-commits mailing list