From 037487d96e5a96899f88436b895baf196fefe2c0 Mon Sep 17 00:00:00 2001
From: Nick Mathewson <nickm@torproject.org>
Date: Tue, 29 Mar 2005 01:03:07 +0000
Subject: [PATCH] Mention libevent in more docs.

svn:r3913
---
 INSTALL          | 6 ++++++
 configure.in     | 2 +-
 doc/tor-doc.html | 5 +++++
 3 files changed, 12 insertions(+), 1 deletion(-)

diff --git a/INSTALL b/INSTALL
index de0210285c..95a11a96c7 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,5 +1,7 @@
 Quickstart version for users:
 
+-1) If you don't have libevent, install it.  Source is at
+    http://www.monkey.org/~provos/libevent/ .
 0) Download the absolute newest version. No, really.
   http://tor.eff.org/dist/
 1) tar xvf it, and then cd into the directory.
@@ -42,6 +44,10 @@ If you got the source from cvs:
 
 If the quickstart doesn't work for you:
 
+  Starting with Tor 0.1.0.0, Tor uses libevent for its asynchronous
+  networking core.  If you don't have libevent, you'll need to install it.
+  You can get it at http://www.monkey.org/~provos/libevent/.
+
   If you have problems finding libraries, try
     CPPFLAGS="-I/usr/local/include" LDFLAGS="-L/usr/local/lib" \
     ./configure
diff --git a/configure.in b/configure.in
index 56bb05c745..19ad3cbfde 100644
--- a/configure.in
+++ b/configure.in
@@ -34,7 +34,7 @@ AC_SEARCH_LIBS(socket, [socket])
 AC_SEARCH_LIBS(gethostbyname, [nsl])
 AC_SEARCH_LIBS(pthread_create, [pthread])
 AC_SEARCH_LIBS(pthread_detach, [pthread])
-AC_SEARCH_LIBS(event_loop, [event], , AC_MSG_ERROR(Libevent library not found. Tor requires libevent to build.))
+AC_SEARCH_LIBS(event_loop, [event], , AC_MSG_ERROR(Libevent library not found. Tor requires libevent to build.  You can get the latest version of libevent at http://www.monkey.org/~provos/libevent/ ))
 
 saved_LIBS="$LIBS"
 saved_LDFLAGS="$LDFLAGS"
diff --git a/doc/tor-doc.html b/doc/tor-doc.html
index 258bf0465c..a91cd7baf0 100644
--- a/doc/tor-doc.html
+++ b/doc/tor-doc.html
@@ -173,6 +173,11 @@ package</a>), these steps are already done for you, and you may
 even already have Tor started in the background (logging to
 /var/log/something).</p>
 
+<p><b>For newer releases</b>: To build Tor version 0.1.0.1-rc or later from
+source, you will need Niels Provos's <tt>libevent</tt> library; you can get
+the source for the latest version
+<a href="http://www.monkey.org/~provos/libevent/">here</a></a>
+
 <p>In any case, see the <a href="#client">next section</a> for what to
 <i>do</i> with it now that you've got it running.</p>
 
-- 
GitLab