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

Re: Tor 0.1.0.6-rc is out



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.
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))
 

Attachment: signature.asc
Description: Digital signature