]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
r11921@catbus: nickm | 2007-02-24 14:09:12 -0500
authorNick Mathewson <nickm@torproject.org>
Sat, 24 Feb 2007 19:10:35 +0000 (19:10 +0000)
committerNick Mathewson <nickm@torproject.org>
Sat, 24 Feb 2007 19:10:35 +0000 (19:10 +0000)
 Try to build with recent libevents on mingw.

svn:r9639

ChangeLog
configure.in

index 3d0b429c89408aa611d6e1be9a2009b2cfc313c6..c9e8d80549b75f62e08541459c931ba7cae958c7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -55,6 +55,8 @@ Changes in version 0.1.2.8-alpha - 2007-??-??
       back online.
     - On a malformed DNS reply, always give an error to the corresponding
       DNS request.
+    - Build with recent libevents on platforms that do not define the
+      nonstandard types "u_int8_t" and friends.
 
   o Minor features (controller):
     - Warn the user when an application uses the obsolete binary v0
index 013241fe47fb8282a2ca62f0aa841afdac585b15..b41b29428ea0903c3e18e1286b422570c26368e8 100644 (file)
@@ -196,6 +196,12 @@ fi
 dnl ------------------------------------------------------
 dnl Where do you live, libevent?  And how do we call you?
 
+dnl This is a disgusting hack so we safely include recent libevent headers.
+AC_CHECK_TYPE(u_int64_t, unsigned long long)
+AC_CHECK_TYPE(u_int32_t, unsigned long)
+AC_CHECK_TYPE(u_int16_t, unsigned short)
+AC_CHECK_TYPE(u_int8_t, unsigned char)
+
 AC_CACHE_CHECK([for libevent directory], tor_cv_libevent_dir, [
   saved_LIBS="$LIBS"
   saved_LDFLAGS="$LDFLAGS"