aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-07-30 08:17:25 -0400
committerNick Mathewson <nickm@torproject.org>2018-07-30 08:17:25 -0400
commit5823e62fa2a83fb1f7a27c82be930749e3a4782d (patch)
treec7ed87098c5b8dc27afabf0a306ef30dc40d6e7c /configure.ac
parent9ae35975402a823a420cd5efb81a1c3a76f6c4d6 (diff)
parentd102e9c2e4ab5dfca0c03f7b4e27431d069338fd (diff)
downloadtor-5823e62fa2a83fb1f7a27c82be930749e3a4782d.tar.gz
tor-5823e62fa2a83fb1f7a27c82be930749e3a4782d.zip
Merge branch 'maint-0.3.4'
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 2ababb03bb..3a2f579b63 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2253,6 +2253,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