diff -up libevent-2.0.12-stable/configure.in.orig libevent-2.0.12-stable/configure.in
--- libevent-2.0.12-stable/configure.in.orig 2011-06-03 15:43:34.000000000 -0400
+++ libevent-2.0.12-stable/configure.in 2011-08-02 10:23:25.713704595 -0400
@@ -341,8 +341,6 @@ AC_CHECK_FUNC(gethostbyname_r, [
fi
-AC_CHECK_SIZEOF(long)
-
AC_MSG_CHECKING(for F_SETFD in fcntl.h)
AC_EGREP_CPP(yes,
[
@@ -519,12 +517,7 @@ AC_CHECK_TYPES([fd_mask], , ,
#include <sys/select.h>
#endif])
-AC_CHECK_SIZEOF(long long)
-AC_CHECK_SIZEOF(long)
-AC_CHECK_SIZEOF(int)
-AC_CHECK_SIZEOF(short)
AC_CHECK_SIZEOF(size_t)
-AC_CHECK_SIZEOF(void *)
AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, sa_family_t, struct addrinfo, struct sockaddr_storage], , ,
[#define _GNU_SOURCE