summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2007-11-02 14:50:37 +0000
committerNick Mathewson <nickm@torproject.org>2007-11-02 14:50:37 +0000
commite76581f97eb849a0e3de869828f4ff809d00e9ba (patch)
tree5a064235a2136598fc3cf20477e3de5bf1460fe6 /configure.in
parent6aeca5237d3e801cc6da07a83af22bb159be703b (diff)
downloadtor-e76581f97eb849a0e3de869828f4ff809d00e9ba.tar.gz
tor-e76581f97eb849a0e3de869828f4ff809d00e9ba.zip
r14647@tombo: nickm | 2007-11-02 10:48:37 -0400
Use rlim_t instead of unsigned long to manipulate rlimit values. svn:r12339
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index 3abcf2648e..5ad8617ab3 100644
--- a/configure.in
+++ b/configure.in
@@ -362,6 +362,12 @@ AC_CHECK_TYPES([struct in6_addr, struct sockaddr_in6, struct sockaddr_storage, s
#endif
])
+AC_CHECK_TYPES([rlim_t], , ,
+[#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_RUN_IFELSE(AC_LANG_SOURCE([