commit | 8475526a3842580f00a043bca8f821e14e9f5eb7 | [log] [tgz] |
---|---|---|
author | Jonathan Gray <jsg@jsg.id.au> | Tue Mar 17 13:16:05 2015 +1100 |
committer | Jose Fonseca <jfonseca@vmware.com> | Wed Mar 18 10:53:20 2015 +0000 |
tree | 156b1cfb656fb36be6fb85c655d813a117ad5b59 | |
parent | eeb504e0ae7796e7ba475f6e9d6c26daa6b06608 [diff] |
configure: check if compiler supports -Werror=vla. Check if the compiler supports -Werror=vla before using it. -Wvla was introduced with GCC 4.3 and is not present in 4.2. Fixes the build on OpenBSD. v2: Fix statement order, and quote $save_CFLAGS. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=89433 Signed-off-by: Jonathan Gray <jsg@jsg.id.au> Signed-off-by: Jose Fonseca <jfonseca@vmware.com>