about summary refs log tree commit diff
path: root/configure.in
diff options
context:
space:
mode:
authorTanaka Akira <akr@users.sourceforge.net>1999-10-13 19:07:05 +0000
committerTanaka Akira <akr@users.sourceforge.net>1999-10-13 19:07:05 +0000
commit39d3ea13c1361b4b3f084eb3c0754008d58cfcdc (patch)
tree82d2b9878ee47af23c8b2639899c32906e865e4e /configure.in
parent3af795d1fe7902ddc94512d48e51ba84721cca90 (diff)
downloadzsh-39d3ea13c1361b4b3f084eb3c0754008d58cfcdc.tar.gz
zsh-39d3ea13c1361b4b3f084eb3c0754008d58cfcdc.tar.xz
zsh-39d3ea13c1361b4b3f084eb3c0754008d58cfcdc.zip
zsh-workers/8241
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index c05d59d89..4cc512274 100644
--- a/configure.in
+++ b/configure.in
@@ -367,7 +367,7 @@ fi
 dnl Checking if the compiler supports variable-length arrays
 AC_CACHE_CHECK(if the compiler supports variable-length arrays,
 zsh_cv_c_variable_length_arrays,
-[AC_TRY_COMPILE([int foo();], [int i[foo()];],
+[AC_TRY_COMPILE([int foo(), n;], [int i[foo()], a[n+1];],
   zsh_cv_c_variable_length_arrays=yes,
   zsh_cv_c_variable_length_arrays=no)])
 if test $zsh_cv_c_variable_length_arrays = yes; then