diff --git a/configure b/configure index cd72f36376..34680d4784 100755 --- a/configure +++ b/configure @@ -3504,6 +3504,7 @@ elif enabled gcc; then check_cflags -Werror=implicit-function-declaration check_cflags -Werror=missing-prototypes check_cflags -Werror=declaration-after-statement + check_cflags -Werror=vla elif enabled llvm_gcc; then check_cflags -mllvm -stack-alignment=16 elif enabled clang; then