aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2013-03-20 10:52:26 -0400
committerNick Mathewson <nickm@torproject.org>2013-03-20 10:52:26 -0400
commit90d2162f32f511f23449211ad900a880fd384afb (patch)
tree5e39edd95299bf05da010c57631dded84729b5bd /configure.ac
parent5b0b51ca3ff55d6e82081adf4cb1dbfa24ac4872 (diff)
parent2f98bf5c9fac4dfd1bb07564ce08b13d1e330252 (diff)
downloadtor-90d2162f32f511f23449211ad900a880fd384afb.tar
tor-90d2162f32f511f23449211ad900a880fd384afb.tar.gz
Merge commit '2f98bf5c9fac4dfd1bb07564ce08b13d1e330252' into maint-0.2.4
(This is the part of the Bug 8042 patch that warns about unsigned time_t)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index d58898416..ed452cb54 100644
--- a/configure.ac
+++ b/configure.ac
@@ -972,6 +972,10 @@ AX_CHECK_SIGN([time_t],
#endif
])
+if test "$ax_cv_decl_time_t_signed" = no; then
+ AC_MSG_WARN([You have an unsigned time_t; some things will probably break. Please tell the Tor developers about your interesting platform.])
+fi
+
AX_CHECK_SIGN([size_t],
[ tor_cv_size_t_signed=yes ],
[ tor_cv_size_t_signed=no ], [