[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[or-cvs] r10073: Oops: detect event_get_version and friends correctly again. (tor/trunk)



Author: nickm
Date: 2007-04-30 18:42:47 -0400 (Mon, 30 Apr 2007)
New Revision: 10073

Modified:
   tor/trunk/
   tor/trunk/configure.in
Log:
 r12594@catbus:  nickm | 2007-04-30 18:31:48 -0400
 Oops: detect event_get_version and friends correctly again.



Property changes on: tor/trunk
___________________________________________________________________
 svk:merge ticket from /tor/trunk [r12594] on 8246c3cf-6607-4228-993b-4d95d33730f1

Modified: tor/trunk/configure.in
===================================================================
--- tor/trunk/configure.in	2007-04-30 20:50:09 UTC (rev 10072)
+++ tor/trunk/configure.in	2007-04-30 22:42:47 UTC (rev 10073)
@@ -197,7 +197,13 @@
     [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?