diff --git a/configure b/configure index 8d92159f..200d1dc9 100755 --- a/configure +++ b/configure @@ -7295,7 +7295,7 @@ fi -for flag in -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-variable -Wvla ; do +for flag in -Wmissing-braces -Wnon-virtual-dtor -Woverloaded-virtual -Wreorder -Wsign-compare -Wunused-local-typedefs -Wunused-variable -Wvla ; do as_CACHEVAR=`$as_echo "ax_cv_check_cxxflags_${ax_compiler_flags_test}_$flag" | $as_tr_sh` { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C++ compiler accepts $flag" >&5 $as_echo_n "checking whether C++ compiler accepts $flag... " >&6; } diff --git a/configure.ac b/configure.ac index 8dd855d9..bc72017c 100644 --- a/configure.ac +++ b/configure.ac @@ -92,6 +92,7 @@ AX_APPEND_COMPILE_FLAGS(m4_flatten([ -Woverloaded-virtual -Wreorder -Wsign-compare + -Wunused-local-typedefs -Wunused-variable -Wvla ]), [WARN_CXXFLAGS], [${ax_compiler_flags_test}])