Tor 0.1.0.6-rc is out

Laurent Fousse laurent at komite.net
Mon May 16 22:12:44 UTC 2005


Hi,

* Roger Dingledine [Mon, May 16, 2005 at 05:45:06PM -0400]:
> Right, this is because your libevent installs itself in /usr/local/,
> yet your system isn't configured to look for anything there.
> 
> I consider this a bug with the bsd's. :(
> 
> Maybe you should build libevent with --prefix=/usr ?

The attached patch adds an option to specify where to look for the
libevent files (e.g. "--with-event=/usr/pkg").
Disclaimer: tested once, but I'm an autoconf rookie.
-------------- next part --------------
Index: configure.in
===================================================================
RCS file: /home/or/cvsroot/tor/configure.in,v
retrieving revision 1.193
diff -u -r1.193 configure.in
--- configure.in	15 May 2005 13:26:06 -0000	1.193
+++ configure.in	16 May 2005 22:08:16 -0000
@@ -19,6 +19,10 @@
     CFLAGS="$CFLAGS -g"
 fi])
 
+AC_ARG_WITH(event,
+    [ --with-event=DIR	Libevent directory ],
+    CPPFLAGS="$CPPFLAGS -I$withval/include" LDFLAGS="$LDFLAGS -L$withval/lib")
+
 AC_ARG_ENABLE(threads,
      AC_HELP_STRING(--disable-threads, disable multi-threading support))
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.torproject.org/pipermail/tor-talk/attachments/20050517/c9c25d70/attachment.pgp>


More information about the tor-talk mailing list