Added libevent-2.0.10-stable-configure.patch

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2011-02-08 13:11:22 -05:00
parent 86c0e3b5ed
commit b3aa428783

View File

@ -0,0 +1,25 @@
diff -up libevent-2.0.10-stable/configure.in.orig libevent-2.0.10-stable/configure.in
--- libevent-2.0.10-stable/configure.in.orig 2011-02-07 16:57:19.533353716 -0500
+++ libevent-2.0.10-stable/configure.in 2011-02-07 16:57:33.387228623 -0500
@@ -258,8 +258,6 @@ AC_CHECK_FUNC(gethostbyname_r, [
])
-AC_CHECK_SIZEOF(long)
-
AC_MSG_CHECKING(for F_SETFD in fcntl.h)
AC_EGREP_CPP(yes,
[
@@ -436,12 +434,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], , ,
[#define _GNU_SOURCE