aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-30 08:17:24 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-30 08:17:24 -0400
commit15d7f24c57828b94596ccfd97081840b920c2336 (patch)
tree044c018871e0abfc7a061ea31ca73c0372b8ccc0 /configure.ac
parentdbf57ecf39e3066b567c5aade9e8b5575e1e1ec0 (diff)
parenta8bdb851eb23b6067e24ad955bb8f499b8348b95 (diff)
downloadtor-15d7f24c57828b94596ccfd97081840b920c2336.tar.gz
tor-15d7f24c57828b94596ccfd97081840b920c2336.zip
Merge branch 'maint-0.3.2' into maint-0.3.3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 2fda2ef6f3..d65f2fcd55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2172,6 +2172,9 @@ dnl -Wthread-safety-precise
if test "$tor_cv_cflags__Woverlength_strings" = "yes"; then
AC_DEFINE([HAVE_CFLAG_WOVERLENGTH_STRINGS], 1, [True if we have -Woverlength-strings])
fi
+ if test "$tor_cv_cflags__warn_unused_const_variable_2" = "yes"; then
+ AC_DEFINE([HAVE_CFLAG_WUNUSED_CONST_VARIABLE], 1, [True if we have -Wunused-const-variable])
+ fi
if test "x$enable_fatal_warnings" = "xyes"; then
# I'd like to use TOR_CHECK_CFLAGS here, but I can't, since the