summaryrefslogtreecommitdiff
path: root/m4/vararrays.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/vararrays.m4')
-rw-r--r--m4/vararrays.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/vararrays.m4 b/m4/vararrays.m4
index 65fb4d963b..5e2cb499f3 100644
--- a/m4/vararrays.m4
+++ b/m4/vararrays.m4
@@ -14,8 +14,8 @@ AC_DEFUN([AC_C_VARARRAYS],
AC_CACHE_CHECK([for variable-length arrays],
ac_cv_c_vararrays,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
- [],
- [[static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];]])],
+ [],
+ [[static int x; char a[++x]; a[sizeof a - 1] = 0; return a[0];]])],
ac_cv_c_vararrays=yes,
ac_cv_c_vararrays=no)])
if test $ac_cv_c_vararrays = yes; then