]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Look at the right variable when warning about signed size_t.
authorNick Mathewson <nickm@torproject.org>
Mon, 11 Mar 2013 20:29:06 +0000 (16:29 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 11 Mar 2013 20:29:06 +0000 (16:29 -0400)
In 81d69f4c2d8a451 (0.2.21-alpha) we added a compile-time check for
a (totally broken) signed size_t.  In 0e597471af (not yet released)
I switched to a better configure-time check, which stored its output
in a different variable.  I didn't change the code which looked at
the output, however.

This bug is not in any released version of Tor, and would not affect
anybody with a working Tor.

configure.ac

index 864477b8fc8485f6deeb30e940bbaa3e6a0757de..4bc0db363f9e6be4086315ccd573e468479938f0 100644 (file)
@@ -980,7 +980,7 @@ AX_CHECK_SIGN([size_t],
 #endif
 ])
 
-if test "$tor_cv_size_t_signed" = yes; then
+if test "$ax_cv_decl_size_t_signed" = yes; then
   AC_MSG_ERROR([You have a signed size_t; that's grossly nonconformant.])
 fi