aboutsummaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-01-07 19:51:42 +0000
committerNick Mathewson <nickm@torproject.org>2008-01-07 19:51:42 +0000
commit75299426d0fc94622347a845746e1a61408a64e0 (patch)
treee8c98c9b96e424590c2fec73f408f93f92f58c25 /configure.in
parentad7837d925d2e9d3752c3860f7b41e63df31884d (diff)
downloadtor-75299426d0fc94622347a845746e1a61408a64e0.tar.gz
tor-75299426d0fc94622347a845746e1a61408a64e0.zip
r17505@catbus: nickm | 2008-01-07 14:51:37 -0500
Backport r12339 with fix in r12931: Work on platforms where rlim_t is wider than unsigned long. svn:r13059
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 98bf777567..6f3d024c9f 100644
--- a/configure.in
+++ b/configure.in
@@ -589,6 +589,18 @@ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_storage], , ,
#include <sys/socket.h>
#endif])
+AC_CHECK_TYPES([rlim_t], , ,
+[#ifdef HAVE_SYS_TYPES_H
+#include <sys/types.h>
+#endif
+#ifdef HAVE_SYS_TIME_H
+#include <sys/time.h>
+#endif
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
+#endif
+])
+
if test -z "$CROSS_COMPILE"; then
AC_CACHE_CHECK([whether time_t is signed], tor_cv_time_t_signed, [
AC_TRY_RUN([