Ensure -Wdeclaration-after-statement gets through to vex-land.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5593 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/configure.in b/configure.in
index be46a73..cf78a90 100644
--- a/configure.in
+++ b/configure.in
@@ -486,13 +486,17 @@
 ],
 [
 declaration_after_statement=yes
+FLAG_WDECL_AFTER_STMT="-Wdeclaration-after-statement"
 AC_MSG_RESULT([yes])
 ], [
 declaration_after_statement=no
+FLAG_WDECL_AFTER_STMT=""
 AC_MSG_RESULT([no])
 ])
 CFLAGS=$safe_CFLAGS
 
+AC_SUBST(FLAG_WDECL_AFTER_STMT)
+
 if test x$declaration_after_statement = xyes; then
   CFLAGS="$CFLAGS -Wdeclaration-after-statement"
 fi